Code cleanup
This commit is contained in:
parent
68d65c1fa8
commit
4ecc38136f
|
@ -19,6 +19,7 @@
|
||||||
#variables
|
#variables
|
||||||
PROGNAME="appbroker.sh"
|
PROGNAME="appbroker.sh"
|
||||||
#executables
|
#executables
|
||||||
|
APPBROKER="$OBJDIR../tools/AppBroker$EXEEXT"
|
||||||
DIFF="diff"
|
DIFF="diff"
|
||||||
DEBUG="_debug"
|
DEBUG="_debug"
|
||||||
MKTEMP="mktemp"
|
MKTEMP="mktemp"
|
||||||
|
@ -31,7 +32,7 @@ tmpfile=$($MKTEMP)
|
||||||
[ $? -eq 0 ] || exit 2
|
[ $? -eq 0 ] || exit 2
|
||||||
interface="$1"
|
interface="$1"
|
||||||
expected="${interface%.interface}.expected"
|
expected="${interface%.interface}.expected"
|
||||||
$OBJDIR../tools/AppBroker$EXEEXT -o "$tmpfile" "$interface"
|
$APPBROKER -o "$tmpfile" "$interface"
|
||||||
ret=$?
|
ret=$?
|
||||||
if [ $ret -eq 0 ]; then
|
if [ $ret -eq 0 ]; then
|
||||||
$DIFF -- "$tmpfile" "$expected"
|
$DIFF -- "$tmpfile" "$expected"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user