TeaWeb/scripts/in_docker_prep.sh

12 lines
263 B
Bash
Raw Permalink Normal View History

2023-11-21 14:32:34 +00:00
#!/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 {} +