From 54b6cb03b60d1834130fa289188e9f232fab5898 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sat, 18 Feb 2012 14:44:22 +0100 Subject: Show a useful error message if a dependency is not found. Should stop the build, somehow doesn't. --- toru | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'toru') diff --git a/toru b/toru index e878b3a..766331b 100755 --- a/toru +++ b/toru @@ -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 -- cgit v1.2.3-54-g00ecf