Repository for GregTech 6
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update_all_license_headers.sh 304B

12345678910111213
  1. #!/bin/sh
  2. SOURCE_DIR=`dirname $0`
  3. export LICENSE_HEADER="$(cat "$SOURCE_DIR/LICENSE.header")"
  4. if [ -z "$1" ]; then
  5. find "$SOURCE_DIR/../src/main/java" -iname "*.java" -exec "$SOURCE_DIR/update_license_header.sh" {} \;
  6. else
  7. for f in "${@}"; do
  8. "$SOURCE_DIR"/update_license_header.sh "$f"
  9. done
  10. fi