From 64b9ab3dcec7f4f5118ae4a254b4aa5abe2c96a0 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 25 May 2013 19:26:35 +0200 Subject: [PATCH] Pass absolute path to queue directory to punew_do() The new backports-policy queue exists in a different queue directory. --- config/debian/common | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/debian/common b/config/debian/common index 4469037a..47cc9b47 100644 --- a/config/debian/common +++ b/config/debian/common @@ -105,11 +105,11 @@ function punew_do() { STAMP=${STAMP:-$(date "+%Y%m%d%H%M")} - local exportdir="${queuedir}${qdir}/tree/${STAMP}" - local targetdir="${queuedir}${qdir}/export" + local exportdir="${qdir}/tree/${STAMP}" + local targetdir="${qdir}/export" dak export -q "${queue}" -d "${exportdir}" --all 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 + find "${qdir}/tree" -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 | xargs --no-run-if-empty -0 rm -rf } # These versions used in dinstall @@ -118,7 +118,7 @@ function punew() { log "Doing automated p-u-new processing" fi cd "${queuedir}/p-u-new" - punew_do "$1" "p-u-new" "debian-release@lists.debian.org" + punew_do "$1" "${queuedir}/p-u-new" "debian-release@lists.debian.org" } function opunew() { @@ -126,7 +126,7 @@ function opunew() { log "Doing automated o-p-u-new processing" fi cd "${queuedir}/o-p-u-new" - punew_do "$1" "o-p-u-new" "debian-release@lists.debian.org" + punew_do "$1" "${queuedir}/o-p-u-new" "debian-release@lists.debian.org" } function backports_policy() { -- 2.39.2