Project

General

Profile

Revision aea6b4ce

Added by Assos Assos about 10 years ago

Revert "Prevent double quotes interpretation for drush command arguments. See #378."

This reverts commit f7b1ec4f8193fa4c9bb59d2136b105f259c788d4.

View differences:

bin/d7-all-drush.sh
7 7

  
8 8
check_arguments $# 1 "$help"
9 9

  
10
#Store the drush command name (sqlq, vget, cron). This is the first argument. 
11
drush_command_name="$1"
12
#shift will remove the fist argument so that $* will have the second, third...arguments.
13
shift
14 10
for dir in $(find $d7_dir_sites -maxdepth 1 -mindepth 1 -type d ! -name all | sort) ; do
15 11
    cd $dir
16 12
    echo $dir
17
    drush  $drush_command_name """$*"""
13
    drush $*
18 14
done

Also available in: Unified diff