Skip to content

Instantly share code, notes, and snippets.

@sprice
Created November 30, 2010 23:04
Show Gist options
  • Save sprice/722594 to your computer and use it in GitHub Desktop.
Save sprice/722594 to your computer and use it in GitHub Desktop.
#!/bin/bash
VERSION=$1
PATH=$2
drush dl drupal-$VERSION
rsync -rlt ./drupal-$VERSION/ ./$PATH
rm -r drupal-$VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment