X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-favicon.png?a=blobdiff_plain;f=build%2Fredo_scripts%2Fredo-ifchange;h=7023a045f7bd4f788ba6c861a2193f2bd471f026;hb=02d8fbc8af1f7fb612d57f43cacaf899a98297a2;hp=902ed16d5cef6b58c38d5ee6c306aef65f67c8a6;hpb=b66acb753e8e6a228feca99d72e8bc0988d5dd11;p=plomrogue 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.