From f8e59742185efb30bb2d7d5d4ad3c464ac7a8e38 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 5 Jun 2008 13:39:35 +0000 Subject: [PATCH] Added additional cmd checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11245 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/make-gosa-package | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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##*/}" -- "$@"` -- 2.30.2