diff options
author | friendica <info@friendica.com> | 2015-03-05 15:07:05 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-05 15:07:05 -0800 |
commit | 9bbf509ede626223c53a3cf22191559aae4815d1 (patch) | |
tree | ee4041633be36d3dadbdd9647269106517f6c35c /util | |
parent | ce229d73f86f90ed102145694780abb54de51345 (diff) | |
download | volse-hubzilla-9bbf509ede626223c53a3cf22191559aae4815d1.tar.gz volse-hubzilla-9bbf509ede626223c53a3cf22191559aae4815d1.tar.bz2 volse-hubzilla-9bbf509ede626223c53a3cf22191559aae4815d1.zip |
should be -ne
Diffstat (limited to 'util')
-rwxr-xr-x | util/add_addon_repo | 3 | ||||
-rwxr-xr-x | util/add_theme_repo | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/util/add_addon_repo b/util/add_addon_repo index 130c0a0cd..4979c06bc 100755 --- a/util/add_addon_repo +++ b/util/add_addon_repo @@ -8,12 +8,13 @@ fi mkdir -p extend/addon/$2 mkdir addon > /dev/null 2>&1 git clone $1 extend/addon/$2 -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then exit $? fi filelist=(`ls extend/addon/$2`) + cd addon for a in "${filelist[@]}" ; do base=`basename $a` diff --git a/util/add_theme_repo b/util/add_theme_repo index d2e4b21a5..70a8c6432 100755 --- a/util/add_theme_repo +++ b/util/add_theme_repo @@ -8,7 +8,7 @@ fi mkdir -p extend/theme/$2 git clone $1 extend/theme/$2 -if [ $? -eq '0' ]; then +if [ $? -ne 0 ]; then exit $? fi |