Split BASE_DIR assignment and export on two lines
This commit is contained in:
parent
62dfdd85d4
commit
97076ab9f8
3
build.sh
3
build.sh
|
@ -122,7 +122,8 @@ if [ "$(id -u)" != "0" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export BASE_DIR=${BASE_DIR:-"$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"}
|
BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"}
|
||||||
|
export BASE_DIR
|
||||||
|
|
||||||
if [ -f config ]; then
|
if [ -f config ]; then
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
Loading…
Reference in New Issue
Block a user