We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0491fd0 commit f2a7f31Copy full SHA for f2a7f31
env.sh
@@ -3,14 +3,9 @@ export PRJ_ROOT_DIR=""
3
if [ "$GITHUB_ACTIONS" = "true" ]; then
4
PRJ_ROOT_DIR="$GITHUB_WORKSPACE"
5
else
6
-<<<<<<< HEAD
7
- if [ "$0" = "-bash" ]; then
8
- PRJ_ROOT_DIR="$(dirname "$(realpath ${BASH_SOURCE[0]})")"
9
-=======
10
if [ -n "${BASH_SOURCE[0]:-}" ]; then
11
# shellcheck disable=SC3000-SC4000
12
PRJ_ROOT_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
13
->>>>>>> 62de35a ([misc] Source env.sh correctly in ZSH and Bash)
14
15
PRJ_ROOT_DIR="$(dirname "$(realpath "$0")")"
16
fi
0 commit comments