Skip to content

Commit e9e0e01

Browse files
committed
Fixing typo
1 parent 68a0ef7 commit e9e0e01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build_cmake.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Useful if you willing to stop on first error, also prints what is executed.
44
#set -ex
55

6-
BUILDIR="${BUILDIR:-build}" # Default build dir.
6+
BUILDDIR="${BUILDDIR:-build}" # Default build dir.
77

88
# Define target platforms, feel free to comment out if you does not require some of it,
99
# or you can call this script with plaforms list you willing to build on the command line.
@@ -34,12 +34,12 @@ G="${G:-}"
3434
[ -z "${G}" ] && hash ninja >/dev/null 2>&1 && G="Ninja"
3535
[ ! -z "${G}" ] && export CMAKE_GENERATOR="${G}"
3636

37-
rm -rf ${BUILDIR}
38-
mkdir -p ${BUILDIR}
37+
rm -rf ${BUILDDIR}
38+
mkdir -p ${BUILDDIR}
3939

4040
# Build platforms one by one.
4141
for name in "${PLATFORMS[@]}"; do
42-
P="${BUILDIR}/$name"
42+
P="${BUILDDIR}/$name"
4343
mkdir -p "${P}"
4444
case "${name}" in
4545
* ) # Build native library.

0 commit comments

Comments
 (0)