2022-09-17 12:36:43 +03:00
|
|
|
#!/bin/bash
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
|
|
|
cd $SCRIPT_DIR
|
|
|
|
|
2022-09-17 12:37:45 +03:00
|
|
|
find ./ -name "*.sh" -not -path "./nerest*" -not -path "./ignore*" -exec sh -c 'F={}; cp -u $F ${F}.example' \;
|
2022-09-17 12:36:43 +03:00
|
|
|
|
|
|
|
find ./ -name "*.sh.example" -exec sh -c 'F={}; chmod -x ${F}' \;
|
|
|
|
|
|
|
|
find ./ -name "*.sh.example" -exec sh -c 'F={}; git add ${F}' \;
|