Skip to content

Instantly share code, notes, and snippets.

@chx
Created December 28, 2012 06:51
Show Gist options
  • Save chx/4395137 to your computer and use it in GitHub Desktop.
Save chx/4395137 to your computer and use it in GitHub Desktop.
while read -r project
do
output=`drush dl --dev -y -q --destination=allmodules --package-handler=git_drupalorg $project`
if [ -z "$output"]
then
output=`drush dl --dev -y -q --destination=allmodules --default-major=6 --package-handler=git_drupalorg $project`
if [ -z "$output"] ; then echo 'module sucks; fi
fi
done < allmodules.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment