summaryrefslogtreecommitdiff
path: root/test/simple-build-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple-build-check.sh')
-rwxr-xr-xtest/simple-build-check.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh
index d1c28749fb..faa7c46432 100755
--- a/test/simple-build-check.sh
+++ b/test/simple-build-check.sh
@@ -23,8 +23,7 @@ make all $MAKEOPTS USE_LOG=false EXTRAS="$EXTRAS" || exit
echo -e "\n\n"
# klibc build
-[ -z "$KLCC" ] && KLCC=/usr/bin/klcc
-if [ -e "$KLCC" ]; then
+if [ -n "$KLCC" -a -e "$KLCC" ]; then
echo KLCC: "$KLCC"
make clean EXTRAS="$EXTRAS" >/dev/null
make all -j4 $MAKEOPTS USE_KLIBC=true DEBUG=true EXTRAS="$EXTRAS" KLCC="$KLCC" || exit