2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

work around parse error on old busybox shells (#22)

This commit is contained in:
tkoecker
2021-05-03 21:32:25 +02:00
committed by GitHub
parent da7efaa25b
commit 635fa23ee1

View File

@@ -24,7 +24,7 @@ B2_CXXFLAGS_OPT=
# script so that we can refer to file relative to it.
SCRIPT_PATH=""
if test "${BASH_SOURCE}" ; then
SCRIPT_PATH=${BASH_SOURCE[0]}
SCRIPT_PATH=${BASH_SOURCE}
fi
if test "${SCRIPT_PATH}" = "" ; then
SCRIPT_PATH=$0