12 lines
263 B
Bash
12 lines
263 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
SCRIPT=$(realpath "$0")
|
||
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||
|
BASEPATH="$(realpath "${SCRIPTPATH}/../")"
|
||
|
|
||
|
echo "adding secure git dir"
|
||
|
git config --global --add safe.directory '*'
|
||
|
|
||
|
echo "running chmods"
|
||
|
find "${BASEPATH}" -iname "*.sh" -exec chmod +x {} +
|