X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;fp=config%2Fdebian%2Fcommon;h=bc3248c7470dd6cad1b5f8f44398d5bfcffccc6d;hb=deb1e850a2fb83b0eff6d0761ea4a4aafb406112;hp=b8a6e6cca5fc2c3c80544499baf210a59e51b9fc;hpb=58960572ca88248c4195e10b1cc8f9ea26565f4c;p=dak.git diff --git a/config/debian/common b/config/debian/common index b8a6e6cc..bc3248c7 100644 --- a/config/debian/common +++ b/config/debian/common @@ -288,7 +288,7 @@ function stage() { ARGS=${ARGS:-""} log "########## ${PROGRAM} BEGIN: ${FUNC} ${ARGS} ##########" - local STAGEFILE="${stagedir}/${FUNC}_${ARGS}" + local STAGEFILE="${stagedir}/${FUNC}${ARGS:+_}${ARGS}" STAGEFILE=${STAGEFILE// /_} if [ -f "${STAGEFILE}" ]; then local stamptime=$(/usr/bin/stat -c %Z "${STAGEFILE}")