X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fmonkeysphere-server;h=111f77723ff1797c543d35d547968125b842b16a;hb=c34410402a7e49030666553c731c267e14e9a508;hp=f4bdd1b83b7de3c3c701c7da0d8c6d70972c7a41;hpb=6a68ed330a5133d4d4d3aa7ae0c9c26bb7a7e59b;p=monkeysphere.git diff --git a/src/monkeysphere-server b/src/monkeysphere-server index f4bdd1b..111f777 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -267,7 +267,7 @@ gen_key() { revoker= # get options - TEMP=$(getopt -o e:l:r -l expire:,length:,revoker: -n "$PGRM" -- "$@") + TEMP=$(PATH="/usr/local/bin:$PATH" getopt -o e:l:r -l expire:,length:,revoker: -n "$PGRM" -- "$@") || failure "getopt failed! Does your getopt support GNU-style long options?" if [ $? != 0 ] ; then exit 1 @@ -699,7 +699,7 @@ add_certifier() { depth=1 # get options - TEMP=$(getopt -o n:t:d: -l domain:,trust:,depth: -n "$PGRM" -- "$@") + TEMP=$(PATH="/usr/local/bin:$PATH" getopt -o n:t:d: -l domain:,trust:,depth: -n "$PGRM" -- "$@") || failure "getopt failed! Does your getopt support GNU-style long options?" if [ $? != 0 ] ; then exit 1