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.

10 lines
337 B

  1. #!/bin/bash
  2. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. cd $SCRIPT_DIR
  4. find ./ -name "*.sh" -not -path "./nerest*" -not -path "./ignore*" -exec sh -c 'F={}; cp -u $F ${F}.example' \;
  5. find ./ -name "*.sh.example" -exec sh -c 'F={}; chmod -x ${F}' \;
  6. find ./ -name "*.sh.example" -exec sh -c 'F={}; git add ${F}' \;