X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Flmake;h=3bc75a95d8fffd450ec5c8e188305153d88981c1;hp=78ce511ac76f2556be8f53d5787e136473fab250;hb=24a8fd6ceb0084490632a91b2a90e030052e0a7d;hpb=e0872305a3f40f3cff3ef5dfcfc0c643db36f6e6 diff --git a/build/lmake b/build/lmake index 78ce511..3bc75a9 100755 --- a/build/lmake +++ b/build/lmake @@ -563,7 +563,7 @@ build_kms() mkdir -p "${TOPDIR}/modules-${FULL_VERSION}" for dir in /usr/src/kernel-modules/* ; do # we are replacing lustre-lite, so don't include it - if [ ${dir##*/} != "lustre-lite" -a -e $dir/Makefile ]; then + if [ "${dir##*/}" != "lustre-lite" -a -e $dir/Makefile ]; then build_dir="${TOPDIR}/modules-${FULL_VERSION}/${dir##*/}" cp -a $dir $build_dir # these modules are terrible, and don't all build