home · contact · privacy
erlehmann's patch of his own redo system, yet another bug fix.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 15 Oct 2014 01:25:35 +0000 (03:25 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 15 Oct 2014 01:25:35 +0000 (03:25 +0200)
build/redo_scripts/redo-ifchange

index 5f220a8002ac1b46206046a1fc3de2c30ccff5fe..902ed16d5cef6b58c38d5ee6c306aef65f67c8a6 100755 (executable)
@@ -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.