Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed params error

when i run script:
“sudo ./install-appledoc.sh -b /usr/bin -t ~/Library/Application\ Support/appledoc/ “

an error occurred.
“install-appledoc.sh: line 32: [: too many arguments”
  • Loading branch information...
commit 1fc4bdce2bc6d1bfa63e017ee1bd9407921cbd9f 1 parent ab45696
squarezw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  install-appledoc.sh
2  install-appledoc.sh
View
@@ -29,7 +29,7 @@ do
t)
INSTALL_TEMPLATES="YES"
echo "arg is = $OPTARG"
- if [ $OPTARG != "default" ]; then
+ if [ "$OPTARG" != "default" ]; then
TEMPLATES_DIR=$OPTARG
fi
;;
Please sign in to comment.
Something went wrong with that request. Please try again.