Revision 9061
Added by Aaron Marcuse-Kubitza almost 12 years ago
make.sh | ||
---|---|---|
14 | 14 |
alias remaking='test "$remake"' |
15 | 15 |
|
16 | 16 |
# usage: set_make_vars; check_target_exists |
17 |
alias check_target_exists='remaking || ! test -e "$target" || return 0'
|
|
17 |
alias check_target_exists='remaking || test ! -e "$target" || return 0'
|
|
18 | 18 |
alias check_fake_target_exists='remaking || declare if_not_exists=1' |
19 | 19 |
# defer check until to_file |
20 | 20 |
|
Also available in: Unified diff
*{.sh,run}: use `test !` instead of `! test` so that the ! is right next to the operator it's negating