From: Christian Heller Date: Thu, 9 Oct 2014 22:16:55 +0000 (+0200) Subject: Update erlehmann's redo scripts. X-Git-Tag: tce~629 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/task?a=commitdiff_plain;h=326fbfe3993b4441f5ccbe97cd9730d3469e9c59;p=plomrogue Update erlehmann's redo scripts. --- diff --git a/build/redo_scripts/redo-ifchange b/build/redo_scripts/redo-ifchange index bdec2d4..58402bd 100755 --- a/build/redo_scripts/redo-ifchange +++ b/build/redo_scripts/redo-ifchange @@ -70,6 +70,10 @@ _dependencies_ne_uptodate() { _target_uptodate() { target=$1 + # If a target is a top-level target, it is not up to date. + if [ -z "$REDO_TARGET" ]; then + return 1 + fi # If a target does not exist, it is not up to date. if [ ! -e "$target" ]; then _echo_debug_message "$target does not exist."