From e8dc105b0d1d5ec50e2f8ce74805801aff23f3ec Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 15 Oct 2014 03:25:35 +0200
Subject: [PATCH] erlehmann's patch of his own redo system, yet another bug
 fix.

---
 build/redo_scripts/redo-ifchange | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/redo_scripts/redo-ifchange b/build/redo_scripts/redo-ifchange
index 5f220a8..902ed16 100755
--- a/build/redo_scripts/redo-ifchange
+++ b/build/redo_scripts/redo-ifchange
@@ -128,8 +128,8 @@ _dependencies_uptodate() {
   _echo_debug_message "$target dependency check:"
   # If any dependency does not exist, the target is out of date.
   LANG=C stat -c%Y $(LANG=C cut -f1 "$REDO_DIR/$target".dependencies) > \
-    "$REDO_DIR/".dependencies.ctimes 2>&- || return 1
-  exec 3< "$REDO_DIR/".dependencies.ctimes
+    "$REDO_DIR/$target".dependencies.ctimes 2>&- || return 1
+  exec 3< "$REDO_DIR/$target".dependencies.ctimes
   exec 4< "$REDO_DIR/$target".dependencies
   while read ctime_actual <&3 && read dependency ctime_stored md5sum_stored <&4; do
     # If a .always file exists, the dependency is out of date.
-- 
2.30.2