summaryrefslogtreecommitdiff
path: root/src/monkeysphere-server
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 19:20:24 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 19:20:24 -0400
commitc34410402a7e49030666553c731c267e14e9a508 (patch)
tree41b4b57ec2a5173d5d6d4b6601a1eeacde3e0c0e /src/monkeysphere-server
parent6a68ed330a5133d4d4d3aa7ae0c9c26bb7a7e59b (diff)
make sure that the FreeBSD package is using GNU-style getopt calls.
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-xsrc/monkeysphere-server4
1 files changed, 2 insertions, 2 deletions
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