X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=contrib%2Flbuild%2Flbuild-rhel5;h=25c374fc6c40c0e396f9a90e271117b985786d95;hb=0041b3977ec04bd74092dc7ea0e329074c9aba27;hp=4aab2c7336a01560f109821a915703667e4bdb1d;hpb=308518230e4f410bd961e82b54e868eb53616b97;p=fs%2Flustre-release.git diff --git a/contrib/lbuild/lbuild-rhel5 b/contrib/lbuild/lbuild-rhel5 index 4aab2c7..25c374f 100644 --- a/contrib/lbuild/lbuild-rhel5 +++ b/contrib/lbuild/lbuild-rhel5 @@ -109,7 +109,7 @@ unpack_linux_devel_rpm-rhel5() { find_linux_rpm-rhel5() { local prefix="$1" local wanted_kernel="$2" - local pathtorpms=${3:-"${KERNELRPMSBASE}/${lnxmaj}/${DISTRO}/${TARGET_ARCH}"} + local pathtorpms=${3:-"$KERNELRPMSBASE/$lnxmaj/$DISTROMAJ/$TARGET_ARCH"} find_linux_rpm-rhel "$prefix" "$wanted_kernel" "$pathtorpms" }