diff --git a/doc/scripts/appbroker.sh b/doc/scripts/appbroker.sh index 15107f9..e67b3d7 100755 --- a/doc/scripts/appbroker.sh +++ b/doc/scripts/appbroker.sh @@ -28,6 +28,7 @@ PROGNAME="appbroker.sh" #executables APPBROKER="AppBroker" +DEBUG="_debug" #functions @@ -37,7 +38,15 @@ _appbroker() target="$1" appinterface="$2" - $APPBROKER -o "$target" "$appinterface" + $DEBUG $APPBROKER -o "$target" "$appinterface" +} + + +#debug +_debug() +{ + echo "$@" 1>&2 + "$@" }