home · contact · privacy
Update in erlehmann's redo scripts.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:08:38 +0000 (06:08 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 25 Aug 2015 04:08:38 +0000 (06:08 +0200)
build/redo_scripts/redo-ifchange

index 902ed16d5cef6b58c38d5ee6c306aef65f67c8a6..7023a045f7bd4f788ba6c861a2193f2bd471f026 100755 (executable)
@@ -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.