From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 15 Oct 2014 01:25:35 +0000 (+0200)
Subject: erlehmann's patch of his own redo system, yet another bug fix.
X-Git-Tag: tce~624
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/templates?a=commitdiff_plain;h=e8dc105b0d1d5ec50e2f8ce74805801aff23f3ec;p=plomrogue

erlehmann's patch of his own redo system, yet another bug fix.
---

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.