From 31942c8d98b481c9f59695f0008593902d7b21dd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Jul 2012 22:54:34 -0300 Subject: Ignoring site names without dots at drupal script --- templates/drupal.sh.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 826b0e0..62c9aef 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -59,8 +59,9 @@ function drupal_iterate { fi # Setup site folders with .onion sites in the end of the list + # and ignoring site names without dots cd $base/sites - drupals="`ls -I default -I all -I example.sites.php -I '*.onion'`" + drupals="`ls -1 -I default -I all -I example.sites.php -I '*.onion' | grep "\." | xargs`" drupals="$drupals `ls -1 | grep '.onion$' | xargs`" # Issue updates -- cgit v1.2.3