diff options
-rw-r--r-- | templates/drupal.sh.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index c6b9ca9..f985289 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -65,7 +65,7 @@ function drupal_iterate { # Issue updates for drupal in $drupals; do if [ -e "$drupal/settings.php" ]; then - hash="sha1sum $drupal/settings.php" + hash="`sha1sum $drupal/settings.php | cut -d ' ' -f 1`" # Process sites just once, avoiding symlinks if echo $settings_hash | grep -q -v $hash; then settings_hash="$settings_hash-$hash" |