summaryrefslogtreecommitdiff
path: root/src/monkeysphere
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
parent6a68ed330a5133d4d4d3aa7ae0c9c26bb7a7e59b (diff)
make sure that the FreeBSD package is using GNU-style getopt calls.
Diffstat (limited to 'src/monkeysphere')
-rwxr-xr-xsrc/monkeysphere2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere b/src/monkeysphere
index 36b44dd..089c06e 100755
--- a/src/monkeysphere
+++ b/src/monkeysphere
@@ -63,7 +63,7 @@ gen_subkey(){
keyExpire=
# get options
- TEMP=$(getopt -o l:e: -l length:,expire: -n "$PGRM" -- "$@")
+ TEMP=$(PATH="/usr/local/bin:$PATH" getopt -o l:e: -l length:,expire: -n "$PGRM" -- "$@") || failure "getopt failed! Does your getopt support GNU-style long options?"
if [ $? != 0 ] ; then
exit 1