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/add_addon_repo | |
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/add_addon_repo')
-rwxr-xr-x | util/add_addon_repo | 3 |
1 files changed, 2 insertions, 1 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` |