From: Brian J. Murrell Date: Fri, 13 Aug 2010 15:03:09 +0000 (+0400) Subject: b=23185 use resolve_arch() in the test too X-Git-Tag: 2.0.51.0~80 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=09fe7811cb076a00a905b747d0048294a0ef2e4d b=23185 use resolve_arch() in the test too Missed a usage need for resolve_arch() in the test for the file we extracted, using resolve_arch(). --- diff --git a/build/lbuild-sles10 b/build/lbuild-sles10 index 107af00..d278e06 100644 --- a/build/lbuild-sles10 +++ b/build/lbuild-sles10 @@ -59,7 +59,7 @@ unpack_linux_devel_rpm-sles10() { # now just sanity check that everything needed to build properly versioned # modules is in place - if [ ! -f usr/src/linux-${lnxmaj}${lnxmin}-${lnxrel}-obj/$TARGET_ARCH/$RPMSMPTYPE/Module.symvers ]; then + if [ ! -f usr/src/linux-${lnxmaj}${lnxmin}-${lnxrel}-obj/$(resolve_arch $TARGET_ARCH)/$RPMSMPTYPE/Module.symvers ]; then fatal 1 "cannot build kernel modules: the Kernel's Module.symvers is missing." fi if [ ! -f boot/symsets-${lnxmaj}${lnxmin}-${lnxrel}-$RPMSMPTYPE.tar.gz ]; then