Permalink
Browse files

Make argument checking in Scintilla update script more strict

  • Loading branch information...
1 parent f0b245c commit 409c1a68a5c7d180be2ae311ed54d00c25a61ac3 @b4n b4n committed Jun 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/update-scintilla.sh
@@ -10,7 +10,7 @@
SCI_SRC=
# parse arguments
-if [ $# -gt 0 ]; then
+if [ $# -eq 1 ]; then
SCI_SRC="$1"
else
echo "USAGE: $0 SCINTILLA_SOURCE_DIRECTORY" >&2

0 comments on commit 409c1a6

Please sign in to comment.