Monitor the commands executed

This commit is contained in:
Pierre Pronchery 2015-10-04 12:54:41 +02:00
parent adfa5b11ed
commit c13a652773

View File

@ -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
"$@"
}