From: brian Date: Fri, 25 Nov 2005 20:56:36 +0000 (+0000) Subject: Protect the * from shell expansion producing: X-Git-Tag: v1_7_100~562 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=24a8fd6ceb0084490632a91b2a90e030052e0a7d;hp=e0872305a3f40f3cff3ef5dfcfc0c643db36f6e6 Protect the * from shell expansion producing: --- 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