aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-03 23:20:09 -0700
committerzotlabs <mike@macgirvin.com>2018-05-03 23:20:09 -0700
commit56113b0bde6ea78f1ac0c61eb6ca9324900035c2 (patch)
treefcde594f53a36d345df4916a67ef5e3971f96486
parentb52e9731e39125f5911fe6795ef34eb1f183d4b3 (diff)
downloadvolse-hubzilla-56113b0bde6ea78f1ac0c61eb6ca9324900035c2.tar.gz
volse-hubzilla-56113b0bde6ea78f1ac0c61eb6ca9324900035c2.tar.bz2
volse-hubzilla-56113b0bde6ea78f1ac0c61eb6ca9324900035c2.zip
check for directories
-rwxr-xr-xutil/update_widget_repo4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/update_widget_repo b/util/update_widget_repo
index 045122619..8ef5eba27 100755
--- a/util/update_widget_repo
+++ b/util/update_widget_repo
@@ -25,6 +25,10 @@ for a in "${filelist[@]}" ; do
# echo 'ignoring git'
continue;
fi
+ if [ ! -d ../extend/widget/$1/$base ]; then
+# echo $a 'not a directory'
+ continue;
+ fi
if [ -x $base ]; then
# echo $base 'file exists'
continue;