]> err.no Git - dak/commitdiff
config/debian-security/cron.unchecked: be silent
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 4 Nov 2012 19:46:24 +0000 (20:46 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 4 Nov 2012 19:46:24 +0000 (20:46 +0100)
config/debian-security/cron.unchecked

index 58029f41032fdd88af7de2c0eb3c7bcd6bc072fe..3cfde7a181478b272baf2bd2b6508e1c6153093d 100755 (executable)
@@ -68,13 +68,13 @@ find ${queuedir}/accepted -type f -exec mv -t /srv/queued/ftpmaster '{}' +
 
 # export policy queues
 for queue in embargoed; do
-    pushd ${queuedir}/${queue}
+    cd ${queuedir}/${queue}
     rm -rf export.new
     mkdir export.new
     dak export -q ${queue} -d export.new --all
     rsync -a --delete export.new/. export/.
     rm -rf export.new
-    popd
+    cd ${base}
 done
 
 if [ "${doanything}" = "false" ] && [ "${dopolicy}" = "false" ]; then