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.

13 lines
266 B

9 months ago
  1. #!/bin/bash
  2. QUICK_DIR=quick
  3. if [[ ! -d $QUICK_DIR ]]; then
  4. echo "Quick dir not exists: ${QUICK_DIR}"
  5. exit 1
  6. fi
  7. cd $QUICK_DIR
  8. find ./ -name "*.sh.example" -exec sh -c 'F={}; cp -u $F ${F%.example}' \;
  9. find ./ -name "*.sh" -exec sh -c 'F={}; chmod +x ${F}' \;