Skip to content

Instantly share code, notes, and snippets.

@roman204
Forked from razbakov/modman-generator.sh
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save roman204/99b70d3a71e680d6ce1d to your computer and use it in GitHub Desktop.

Select an option

Save roman204/99b70d3a71e680d6ce1d to your computer and use it in GitHub Desktop.
#!/bin/sh
# usage:
# ./modman-generator module-dir-name
cd $1
echo "Generating magento modman file in $1"
rm modman
find * -type f -not -iwholename 'modman' -exec echo {} {} >> modman \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment