From 6470cef3e3f01e21a038b67c8221a12c8a07b5be Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 29 Feb 2012 08:42:30 -0300 Subject: Oops --- templates/drupal.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index cfe48c0..f2596ab 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -67,7 +67,7 @@ function drupal_iterate { if [ -e "$drupal/settings.php" ]; then hash="sha1sum $drupal/settings.php" # Process sites just once, avoiding symlinks - if echo $settings_hash | grep -q $hash; then + if echo $settings_hash | grep -q -v $hash; then settings_hash="$settings_hash-$hash" if [ "$1" != "cron" ]; then echo "Processing $drupal..." -- cgit v1.2.3