We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f14e9a commit 8060e66Copy full SHA for 8060e66
src/setup.sh
@@ -27,8 +27,11 @@
27
# sourceOnce "$dir_of_tegonal_scripts/utility/io.sh"
28
#
29
###################################
30
+set -euo pipefail
31
+shopt -s inherit_errexit
32
+unset CDPATH
33
-if ! (($# == 1)); then
34
+if (($# != 1)); then
35
printf >&2 "\033[0;31mERROR\033[0m: You need to pass the path to the tegonal scripts directory as first argument. Following an example\n"
36
echo >&2 "source \"\$dir_of_tegonal_scripts/setup.sh\" \"\$dir_of_tegonal_scripts\""
37
exit 9
0 commit comments