Code cleanup

This commit is contained in:
Pierre Pronchery 2013-01-07 03:26:48 +01:00
parent d93685028d
commit 81a6d12db4

View File

@ -1,6 +1,6 @@
#!/bin/sh
#$Id$
#Copyright (c) 2011 Pierre Pronchery <khorben@defora.org>
#Copyright (c) 2011-2013 Pierre Pronchery <khorben@defora.org>
#All rights reserved.
#
#Redistribution and use in source and binary forms, with or without
@ -25,6 +25,11 @@
#variables
#executables
APPBROKER="AppBroker"
#functions
#usage
_usage()
@ -52,5 +57,7 @@ if [ $# -ne 1 ]; then
exit $?
fi
APPINTERFACE="${1%%.h}.interface"
AppBroker -o "$1" "$APPINTERFACE"
APPINTERFACE="$1"
APPINTERFACE="${APPINTERFACE##*/}"
APPINTERFACE="../data/${APPINTERFACE%%.h}.interface"
$APPBROKER -o "$1" "$APPINTERFACE"