Change into script directory when running script

This commit is contained in:
Zach Borboa
2021-03-13 11:09:15 -05:00
parent 1c0bbeaee4
commit e249df4d56
+3
View File
@@ -1,3 +1,6 @@
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${SCRIPT_DIR}"
set -x
# Use composer's phpunit and phpcs by adding composer bin directory to the path environment variable.