Add set -x

This commit is contained in:
Austen Adler 2018-11-26 19:31:35 -05:00
parent 1c955a3b95
commit c6d76d94c7

View File

@ -1,6 +1,7 @@
#!/data/data/com.termux/files/usr/bin/bash #!/data/data/com.termux/files/usr/bin/bash
# Initialize # Initialize
ABSPATH="$(readlink -f "$BASH_SOURCE")" ABSPATH="$(readlink -f "$BASH_SOURCE")"
set -x
cd "${ABSPATH%/*}" || { echo "Cannot change directory" >&2; exit 1; } cd "${ABSPATH%/*}" || { echo "Cannot change directory" >&2; exit 1; }
test -f ./env && source ./env || { echo "Unable to source user variables in $PWD"; exit 1; } test -f ./env && source ./env || { echo "Unable to source user variables in $PWD"; exit 1; }