Code cleanup
This commit is contained in:
parent
d93685028d
commit
81a6d12db4
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2011 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2011-2013 Pierre Pronchery <khorben@defora.org>
|
||||||
#All rights reserved.
|
#All rights reserved.
|
||||||
#
|
#
|
||||||
#Redistribution and use in source and binary forms, with or without
|
#Redistribution and use in source and binary forms, with or without
|
||||||
@ -25,6 +25,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#variables
|
||||||
|
#executables
|
||||||
|
APPBROKER="AppBroker"
|
||||||
|
|
||||||
|
|
||||||
#functions
|
#functions
|
||||||
#usage
|
#usage
|
||||||
_usage()
|
_usage()
|
||||||
@ -52,5 +57,7 @@ if [ $# -ne 1 ]; then
|
|||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
APPINTERFACE="${1%%.h}.interface"
|
APPINTERFACE="$1"
|
||||||
AppBroker -o "$1" "$APPINTERFACE"
|
APPINTERFACE="${APPINTERFACE##*/}"
|
||||||
|
APPINTERFACE="../data/${APPINTERFACE%%.h}.interface"
|
||||||
|
$APPBROKER -o "$1" "$APPINTERFACE"
|
||||||
|
Loading…
Reference in New Issue
Block a user