update_module_from_skeleton 281 B

1234567891011
  1. #! /bin/bash
  2. # Updates all copies of the module to the skeleton's version
  3. #
  4. # TODO: Would be nice if this did some input validation.
  5. for i in $( find . -type d -name "$1" -print | egrep -v "000-skeleton" ); do
  6. echo Processing $i...
  7. pushd $i
  8. update_from_skeleton
  9. popd
  10. done