From 16e4bb1a5d014c4f5761f87cf2bc8017ac7a449a Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 9 Mar 2015 16:24:19 +0100
Subject: [PATCH] Update in erlehmann's redo scripts.

---
 build/redo_scripts/redo-ifchange | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
-- 
2.30.2