chiark / gitweb /
fix BUS, ID, $id usage
[elogind.git] / test / simple-build-check.sh
index d1c28749fb7117b2aed55056d33c6bbf6d3789b6..faa7c46432dcde340eb36ec5f3e69112ad0429b5 100755 (executable)
@@ -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