Code cleanup

This commit is contained in:
Pierre Pronchery 2016-09-14 02:13:38 +02:00
parent 68d65c1fa8
commit 4ecc38136f

View File

@ -19,6 +19,7 @@
#variables
PROGNAME="appbroker.sh"
#executables
APPBROKER="$OBJDIR../tools/AppBroker$EXEEXT"
DIFF="diff"
DEBUG="_debug"
MKTEMP="mktemp"
@ -31,7 +32,7 @@ tmpfile=$($MKTEMP)
[ $? -eq 0 ] || exit 2
interface="$1"
expected="${interface%.interface}.expected"
$OBJDIR../tools/AppBroker$EXEEXT -o "$tmpfile" "$interface"
$APPBROKER -o "$tmpfile" "$interface"
ret=$?
if [ $ret -eq 0 ]; then
$DIFF -- "$tmpfile" "$expected"