From: Joerg Jaspert Date: Tue, 14 Aug 2012 19:17:06 +0000 (+0200) Subject: right order. *sigh* X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b5f4d2298803f7ef91c5553706f114998d59ea10;p=dak.git right order. *sigh* Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/common b/config/debian/common index f3cdaaa3..b1fc1901 100644 --- a/config/debian/common +++ b/config/debian/common @@ -96,7 +96,7 @@ function punew_do() { local exportdir="${queuedir}${qdir}/tree/${STAMP}" local targetdir="${queuedir}${qdir}/export" dak export -q "${queue}" -d "${exportdir}" --all - ln -sfT ${targetdir} ${exportdir} + ln -sfT ${exportdir} ${targetdir} find ${queuedir}${qdir}/tree -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf }