From: Christian Heller Date: Mon, 9 Mar 2015 15:24:19 +0000 (+0100) Subject: Update in erlehmann's redo scripts. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%22https:/validator.w3.org/ledger?a=commitdiff_plain;h=16e4bb1a5d014c4f5761f87cf2bc8017ac7a449a;p=plomrogue Update in erlehmann's redo scripts. --- diff --git a/build/redo_scripts/redo-ifchange b/build/redo_scripts/redo-ifchange index 902ed16..7023a04 100755 --- a/build/redo_scripts/redo-ifchange +++ b/build/redo_scripts/redo-ifchange @@ -208,7 +208,7 @@ _do() { fi printf '%sredo %s%s%s%s%s\n' \ "$green" "$REDO_DEPTH" "$bold" "$target_relpath" "$plain" >&2 - ( _run_dofile "$target" "$base" "$tmp.tmp" ) + ( _run_dofile "$target" "${base##*/}" "$tmp.tmp" ) rv="$?" # Add non existing .do file to non-existence dependencies so # target is built when .do file in question is created.