aboutsummaryrefslogtreecommitdiffstats
path: root/util/add_addon_repo
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-20 14:07:24 -0800
committerfriendica <info@friendica.com>2015-02-20 14:07:24 -0800
commit835b2594550a8f53ec5beee370129e2add162ab0 (patch)
tree5dbcd7bd1f7a0f9fa60190254bb5bf58f0f93868 /util/add_addon_repo
parent8eedc9d5766df8d57815bdd38e5fa5e3757e7555 (diff)
downloadvolse-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-xutil/add_addon_repo4
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