diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-18 14:44:22 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-18 14:44:22 +0100 |
commit | 54b6cb03b60d1834130fa289188e9f232fab5898 (patch) | |
tree | b0d04247e136d84e2be01eea91d44d00c68d174e /toru | |
parent | ef12ca293c2a85fde729c39900fa2d481c8b42da (diff) |
Show a useful error message if a dependency is not found.
Should stop the build, somehow doesn't.
Diffstat (limited to 'toru')
-rwxr-xr-x | toru | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -297,8 +297,7 @@ while getopts 'haqfpum' arg; do f) force=true ;; u) commands+=(update);; p) shift $(( OPTIND - 1 )) - where_is "$1" - exit $?;; + where_is "$1" || exit 1;; m) commands+=(missing);; esac |