From 24a8fd6ceb0084490632a91b2a90e030052e0a7d Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 25 Nov 2005 20:56:36 +0000 Subject: [PATCH] Protect the * from shell expansion producing: --- build/lmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1