chiark / gitweb /
don't remove symlinks if they are already there
[elogind.git] / test / simple-build-check.sh
index d1c28749fb7117b2aed55056d33c6bbf6d3789b6..6d7272f80e6ff7ca89102729cefff94f547d0b2d 100755 (executable)
@@ -1,6 +1,7 @@
 #/bin/sh
 
 EXTRAS="\
+       extras/path_id \
        extras/scsi_id \
        extras/ata_id \
        extras/volume_id \
@@ -23,8 +24,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