fix nasty typo
authorMarius Mauch <genone@gentoo.org>
Sat, 9 Feb 2008 23:06:28 +0000 (23:06 -0000)
committerMarius Mauch <genone@gentoo.org>
Sat, 9 Feb 2008 23:06:28 +0000 (23:06 -0000)
svn path=/main/trunk/; revision=9316

bin/repoman
mkrelease.sh

index 921861612f84a66eeb240461001aa4669719d275..60e9c723961b3dc568ed90f134f25606650dce48 100755 (executable)
@@ -649,7 +649,7 @@ else:
        xmllint_capable=True
 
 if options.mode == 'commit' and isCvs:
-       utilties.detect_vcs_conflicts(options, vcs="cvs")
+       utilities.detect_vcs_conflicts(options, vcs="cvs")
 
 if options.mode == "manifest":
        pass
@@ -1592,10 +1592,10 @@ else:
                try:
                        editor = os.environ.get("EDITOR")
                        if editor and utilities.editor_is_executable(editor):
-                               commitmessage = utilties.get_commit_message_with_editor(
+                               commitmessage = utilities.get_commit_message_with_editor(
                                        editor, message=qa_output)
                        else:
-                               commitmessage = utilties.get_commit_message_with_stdin()
+                               commitmessage = utilities.get_commit_message_with_stdin()
                except KeyboardInterrupt:
                        exithandler()
                if not commitmessage or not commitmessage.strip():
index 098c80d1ba687b087e471ae582d4d50f178911e1..321e0ced67e3b26e3a4b9735bde222181a37ad6a 100755 (executable)
@@ -12,7 +12,8 @@ die() {
        exit 1
 }
 
-while [ "${1:1}" == "-" ]; then
+while [ "${1:0:1}" == "-" ]; do
+       echo $1
        case "$1" in
                -t|--tag)
                        CREATE_TAG=true
@@ -27,7 +28,7 @@ while [ "${1:1}" == "-" ]; then
                        die "unknown option: $1"
                        ;;
        esac
-fi
+done
 
 [ -z "$1" ] && die "Need version argument"
 [ -n "${1/[0-9]*}" ] && die "Invalid version argument"