diff --git a/doc/scripts/appbroker.sh b/doc/scripts/appbroker.sh index c98177d..c0708cc 100755 --- a/doc/scripts/appbroker.sh +++ b/doc/scripts/appbroker.sh @@ -1,6 +1,6 @@ #!/bin/sh #$Id$ -#Copyright (c) 2011 Pierre Pronchery +#Copyright (c) 2011-2013 Pierre Pronchery #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"