From: cajus Date: Thu, 5 Jun 2008 13:39:35 +0000 (+0000) Subject: Added additional cmd checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f8e59742185efb30bb2d7d5d4ad3c464ac7a8e38;p=gosa.git Added additional cmd checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11245 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/contrib/make-gosa-package b/gosa-core/contrib/make-gosa-package index f80e32588..a98bdffa2 100755 --- a/gosa-core/contrib/make-gosa-package +++ b/gosa-core/contrib/make-gosa-package @@ -44,10 +44,12 @@ usage() { exit 1 } -if ! which dh-make-gosa >/dev/null; then - echo "Error: cannot find dh-make-gosa binary in path!"; - exit 1 -fi +for cmd in dh-make-gosa debchange dpkg-buildpackage dpkg-source svn; do + if ! which $cmd >/dev/null; then + echo "Error: cannot find '$cmd' command in path!"; + exit 1 + fi +done # Import command line parameters PARMS=`getopt -o brscip:,h --long branch,changelog,plugins,section,si-section,release:,help -n "${0##*/}" -- "$@"`