Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
fix the incorrect check on $BUILD_CLANG8
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Apr 26, 2019
1 parent 5d8ef41 commit 29e0ead
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/eosio_build_amazon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DISK_AVAIL_KB=$( df . | tail -1 | awk '{print $4}' )
DISK_TOTAL=$(( DISK_TOTAL_KB / 1048576 ))
DISK_AVAIL=$(( DISK_AVAIL_KB / 1048576 ))

if [ $BUILD_CLANG8 ]; then
if [ "$BUILD_CLANG8" = "true" ]; then
PINNED_TOOLCHAIN=-DCMAKE_TOOLCHAIN_FILE=$BUILD_DIR/pinned_toolchain.cmake
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/eosio_build_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ printf "Disk space total: ${DISK_TOTAL%.*}G\\n"
printf "Disk space available: ${DISK_AVAIL%.*}G\\n"
printf "Concurrent Jobs (make -j): ${JOBS}\\n"

if [ $BUILD_CLANG8 ]; then
if [ "$BUILD_CLANG8" = "true" ]; then
PINNED_TOOLCHAIN=-DCMAKE_TOOLCHAIN_FILE=$BUILD_DIR/pinned_toolchain.cmake
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/eosio_build_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ printf "Disk install: ${DISK_INSTALL}\\n"
printf "Disk space total: ${DISK_TOTAL%.*}G\\n"
printf "Disk space available: ${DISK_AVAIL%.*}G\\n"

if [ $BUILD_CLANG8 ]; then
if [ "$BUILD_CLANG8" = "true" ]; then
PINNED_TOOLCHAIN=-DCMAKE_TOOLCHAIN_FILE=$BUILD_DIR/pinned_toolchain.cmake
fi

Expand Down

0 comments on commit 29e0ead

Please sign in to comment.