X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=bootstrap.sh;h=362343a65598b20649956753cf2363d70f90fde7;hp=f0f51a7ea069c8e6b7a13dd4269626711bd4ce8d;hb=52586d9f4aa721e924d17c7e9a16cb0b98ddc05d;hpb=8d636197d4adf5e882e51ffd2ff86d959dd82d6b diff --git a/bootstrap.sh b/bootstrap.sh index f0f51a7..362343a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -17,13 +17,13 @@ mkdir -p include/msp sources=source/*.cpp for i in $REQUIRED; do - path=$LIBPATH/$i - if [ ! -e $path ]; then - echo $i missing + path=`ls -1d $LIBPATH/*$i* 2>/dev/null | head -1` + if [ ! -d $path ]; then + echo msp$i missing exit 1 fi if [ $i = "core" ]; then - ln -sfT $path/source/* -t include/msp + ln -sf $path/source/* -t include/msp else ln -sfT $path/source include/msp/$i fi