=== modified file 'bin/fsb' --- bin/fsb 2017-06-01 03:13:08 +0000 +++ bin/fsb 2016-05-31 14:30:23 +0000 @@ -10,7 +10,6 @@ c:=ARGS_C -config:=ARGS_C \ b:=ARGS_B -basedir:=ARGS_B \ -continue=ARGS_CONTINUE \ - -pretend=ARGS_PRETEND \ if (($#ARGS_H)); then cat < source a configuration file -b --basedir set this directory as basedir --continue don't erase existing build directories - --pretend only show what build steps would be taken description: Flexible Stage Builder @@ -65,7 +63,7 @@ FSB_NO_COLORS=1 fi -if ! (($+commands[cowsay])); then +if ! [[ -r $commands[cowsay] ]]; then FSB_NO_COWSAY=1 fi @@ -230,16 +228,6 @@ build_target() { ((${+fsb_targets[${1}]})) || die "no such target: $1" target_info $1 - if (($+ARGS_PRETEND)); then - local n k v - for n in $(seq $#build_stack -1 1); do - printf "%d) %s:\n" $[ $#build_stack + 1 - $n ] $build_stack[$n] - for k v in "${(kvP@)build_stack[${n}]}"; do - printf " %s=%s\n" $k ${(qqq)v} - done - done - exit 0 - fi target_stack_build } # typeset -ga build_dir_stack