From: S.Çağlar Onur Date: Fri, 11 Mar 2011 23:04:55 +0000 (-0500) Subject: still trying... X-Git-Tag: 5.0-rc21~42 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b7f49c8bc7f10e8ab8080a328057af49d0299f8f;p=build.git still trying... --- diff --git a/build.common b/build.common index 749f34d6..ec0638e4 100644 --- a/build.common +++ b/build.common @@ -751,7 +751,7 @@ $kexclude_line" $template > $dest_yumconf function yumconf_gpgkey () { dest_yumconf=$1; shift - values=$(grep -h '^gpgkey=' $dest_yumconf | sed -e s,gpgkey=,, | sed -e 's,$basearch,'"$pl_DISTRO_ARCH",g | sort | uniq | xargs) + values=$(grep -h '^gpgkey=' $dest_yumconf | sed -e s,gpgkey=,, | sed -e 's,$basearch,'"$pl_DISTRO_ARCH",g | sed -e 's, ,\n,g' | sort | uniq | xargs) [ -n "$values" ] || return 1 echo $values return 0