Skip to content

Commit 343685d

Browse files
build.sh: remove unnecessary usage of (requires on OS X)
1 parent 23bc6ef commit 343685d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ else
2222
fi
2323

2424
ROOT_DIR="$( mkdir -p "${BUILD_DIR}" && cd "${BUILD_DIR}/.." && pwd )"
25-
BUILD_DIR="$( realpath --relative-to="${ROOT_DIR}" "${BUILD_DIR}" )"
25+
BUILD_DIR="$( cd "${BUILD_DIR}" && pwd )"
26+
BUILD_DIR="$( basename "${BUILD_DIR}" )"
2627

2728
if [[ ! -v CMAKE_ARGS && $BUILD_DIR == *debug* ]]
2829
then

0 commit comments

Comments
 (0)