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

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