diff options
author | friendica <info@friendica.com> | 2015-02-20 14:07:24 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-20 14:07:24 -0800 |
commit | 835b2594550a8f53ec5beee370129e2add162ab0 (patch) | |
tree | 5dbcd7bd1f7a0f9fa60190254bb5bf58f0f93868 /util/add_addon_repo | |
parent | 8eedc9d5766df8d57815bdd38e5fa5e3757e7555 (diff) | |
download | volse-hubzilla-835b2594550a8f53ec5beee370129e2add162ab0.tar.gz volse-hubzilla-835b2594550a8f53ec5beee370129e2add162ab0.tar.bz2 volse-hubzilla-835b2594550a8f53ec5beee370129e2add162ab0.zip |
minor issues with arg passing
Diffstat (limited to 'util/add_addon_repo')
-rwxr-xr-x | util/add_addon_repo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/add_addon_repo b/util/add_addon_repo index caefe820c..7d2b74cff 100755 --- a/util/add_addon_repo +++ b/util/add_addon_repo @@ -1,6 +1,6 @@ #!/bin/sh -f -if [ $# -eq '3' ]; then +if [ $# -ne 2 ]; then echo usage: $0 repo_url nickname exit 1 fi @@ -8,7 +8,7 @@ fi mkdir -p extend/addon/$2 mkdir addon > /dev/null 2>&1 git clone $1 extend/addon/$2 -if [ $? -eq '0' ]; then +if [ $? -eq 0 ]; then exit $? fi |