diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 23:21:49 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-05 23:21:49 +0000 |
commit | 0fefbcc0151028cc619661a7b35cddf122c4c420 (patch) | |
tree | ab076782381c3a03063cb26fc5e695bf6c3c4e3d /trunk/src | |
parent | 179d8e29f223807f25fafa34dd553e4986bc914a (diff) | |
download | simplepkg-0fefbcc0151028cc619661a7b35cddf122c4c420.tar.gz simplepkg-0fefbcc0151028cc619661a7b35cddf122c4c420.tar.bz2 |
jail-update: small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@270 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/jail-commit | 2 | ||||
-rwxr-xr-x | trunk/src/jail-update | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index 61b93bf..9e2a031 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -135,6 +135,8 @@ if [ "$1" == "--help" ]; then usage elif [ "$1" == "--all" ]; then template_svn_commit $BASE_CONF/templates +elif echo $1 | grep -q -e "^--"; then + usage elif [ ! -z "$1" ]; then do_commit $1 $2 else diff --git a/trunk/src/jail-update b/trunk/src/jail-update index 7252f94..8cfc49a 100755 --- a/trunk/src/jail-update +++ b/trunk/src/jail-update @@ -34,7 +34,7 @@ function usage { } -if [ -z "$1" ] || [ "$1" == "--help" ]; then +if [ -z "$1" ] || [ "$1" == "--help" ] || echo $1 | grep -q -e "^--"; then usage exit 1 fi |