home · contact · privacy
Update in erlehmann's redo scripts.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 9 Mar 2015 15:24:19 +0000 (16:24 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 9 Mar 2015 15:24:19 +0000 (16:24 +0100)
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.