diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-07-25 22:54:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-07-25 22:54:34 -0300 |
commit | 31942c8d98b481c9f59695f0008593902d7b21dd (patch) | |
tree | c27b6586159b3f63e35400cac4bacd441a1ce0ce | |
parent | 2446794988608213c9bae98b2e61b359c3facffa (diff) | |
download | puppet-drupal-31942c8d98b481c9f59695f0008593902d7b21dd.tar.gz puppet-drupal-31942c8d98b481c9f59695f0008593902d7b21dd.tar.bz2 |
Ignoring site names without dots at drupal script
-rw-r--r-- | templates/drupal.sh.erb | 3 |
1 files changed, 2 insertions, 1 deletions
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 |