[SM-Commit] GIT changes to test cauldron by Justin Boffemmyer (7576d80564d441d040a71aa828ebd1de9f98928c)

Justin Boffemmyer scm at sourcemage.org
Sat Dec 27 16:58:26 EST 2008


GIT changes to test cauldron by Justin Boffemmyer <flux at sourcemage.org>:

 scripts/spellcaster.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7576d80564d441d040a71aa828ebd1de9f98928c
Author: Justin Boffemmyer <flux at sourcemage.org>
Commit: Justin Boffemmyer <flux at sourcemage.org>

    scripts/spellcaster.sh: forgot ':' for options
    
    The -i and -s flags take arguments, but I forgot the ':' following 'i'
    and 's' in the getopts parse string.

diff --git a/scripts/spellcaster.sh b/scripts/spellcaster.sh
index 24513f0..c9eec8d 100755
--- a/scripts/spellcaster.sh
+++ b/scripts/spellcaster.sh
@@ -37,7 +37,7 @@ EndUsage
 } >&2
 
 function parse_options() {
-	while getopts ":ish" Option
+	while getopts ":i:s:h" Option
 	do
 		case $Option in
 			i ) ISODIR="${OPTARG%/}" ;;



More information about the SM-Commit mailing list