X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fp-u-comment.sh;h=9545470143befc12550edff9713e02ff02214ff9;hb=HEAD;hp=56a4776ad22577aa24eaad20aadba53730749ceb;hpb=d4a5c07d8eadf685e4c6086bb9a2af385f5e5526;p=dak.git diff --git a/scripts/debian/p-u-comment.sh b/scripts/debian/p-u-comment.sh index 56a4776a..95454701 100755 --- a/scripts/debian/p-u-comment.sh +++ b/scripts/debian/p-u-comment.sh @@ -54,7 +54,7 @@ case "${COMMAND}" in ;; esac -destdir=${queuedir}/queue/${QUEUE}/COMMENTS/ +destdir=${queuedir}/${QUEUE}/COMMENTS/ cd $destdir echo "Importing new ${COMMAND} comment file for ${PACKAGE} into ${QUEUE}" @@ -65,6 +65,7 @@ tmpfile=$( gettempfile ) destfile=${COMMAND}.${PACKAGE} cat > ${tmpfile} +chmod a+r ${tmpfile} mv ${tmpfile} ${destfile}