From: Christian Heller Date: Tue, 25 Aug 2015 04:08:38 +0000 (+0200) Subject: Update in erlehmann's redo scripts. X-Git-Tag: tce~332 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/task?a=commitdiff_plain;h=02d8fbc8af1f7fb612d57f43cacaf899a98297a2;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.