Project

General

Profile

« Previous | Next » 

Revision 8989

lib/util.sh: make: added check_target_exists

View differences:

lib/util.sh
245 245
EOF
246 246
)"
247 247

  
248
# usage: set_make_vars; check_target_exists
249
alias check_target_exists='! test -e "$target" || return 0'
250

  
248 251
# usage: set_make_vars; to_target cmd...
249 252
alias to_target='stdout="$target" to_file ' # last space alias-expands next word
250 253

  

Also available in: Unified diff