[geany/geany] 409c1a: Make argument checking in Scintilla update script more strict

Colomban Wendling git-noreply at xxxxx
Sat Jun 30 20:00:42 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 30 Jun 2012 20:00:42
Commit:      409c1a68a5c7d180be2ae311ed54d00c25a61ac3
             https://github.com/geany/geany/commit/409c1a68a5c7d180be2ae311ed54d00c25a61ac3

Log Message:
-----------
Make argument checking in Scintilla update script more strict


Modified Paths:
--------------
    scripts/update-scintilla.sh

Modified: scripts/update-scintilla.sh
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Commits mailing list