diff options
author | Marius Mauch <genone@gentoo.org> | 2008-02-09 23:06:28 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2008-02-09 23:06:28 +0000 |
commit | a8a38aacb667ad499ffff5c2ac47fb0ba01f5910 (patch) | |
tree | 891c5a26786e373fb3840813ed6b40bf51cf75ef | |
parent | fc7c0c205767bd091fe14044ba7e108e2d14062c (diff) | |
download | portage-a8a38aacb667ad499ffff5c2ac47fb0ba01f5910.tar.gz portage-a8a38aacb667ad499ffff5c2ac47fb0ba01f5910.tar.bz2 portage-a8a38aacb667ad499ffff5c2ac47fb0ba01f5910.zip |
fix nasty typo
svn path=/main/trunk/; revision=9316
-rwxr-xr-x | bin/repoman | 6 | ||||
-rwxr-xr-x | mkrelease.sh | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/bin/repoman b/bin/repoman index 921861612..60e9c7239 100755 --- a/bin/repoman +++ b/bin/repoman @@ -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(): diff --git a/mkrelease.sh b/mkrelease.sh index 098c80d1b..321e0ced6 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -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" |