? 441470.patch
Index: drush
===================================================================
RCS file: /cvs/drupal/contributions/modules/drush/drush,v
retrieving revision 1.4
diff -u -p -r1.4 drush
--- drush	21 May 2009 16:23:02 -0000	1.4
+++ drush	22 May 2009 09:49:04 -0000
@@ -27,14 +27,14 @@ export COLUMNS
 
 # Special case for MAMP, since it is not the default php on a vanilla install.
 if [ -f /Applications/MAMP/bin/php5/bin/php ]; then
-  /Applications/MAMP/bin/php5/bin/php $SCRIPT_PATH
+  /Applications/MAMP/bin/php5/bin/php $SCRIPT_PATH $1 $2 $3 $4 $5 $6 $7 $8 $9
 else
   # We check for a command line (cli) version of php, and if found use that.
   /usr/bin/env php-cli -v &> /dev/null
   if [ "$?" = 0 ] ; then
-    /usr/bin/env php-cli $SCRIPT_PATH
+    /usr/bin/env php-cli $SCRIPT_PATH $1 $2 $3 $4 $5 $6 $7 $8 $9
   else
     # Alternatively we run with straight php, which works on most other systems.
-    /usr/bin/env php $SCRIPT_PATH
+    /usr/bin/env php $SCRIPT_PATH $1 $2 $3 $4 $5 $6 $7 $8 $9
   fi
 fi
