X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcommon;h=bc3248c7470dd6cad1b5f8f44398d5bfcffccc6d;hb=ddeee80a2f3389f89fb5ee1d7ecc5e36a68279d7;hp=b8a6e6cca5fc2c3c80544499baf210a59e51b9fc;hpb=9db52ded8c9080189421fc9b8fa061d0ccd59845;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}")