From: S.Çağlar Onur Date: Fri, 11 Mar 2011 22:44:25 +0000 (-0500) Subject: import all gpg keys for a given repo X-Git-Tag: 5.0-rc21~47 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=bd4283fe2d9fbbfcc5b63cdec1c0e6004c2a95a2;p=build.git import all gpg keys for a given repo --- diff --git a/build.common b/build.common index 7b5cec50..00165d45 100644 --- a/build.common +++ b/build.common @@ -753,7 +753,7 @@ function yumconf_gpgkey () { first_line=$(grep '^gpgkey=' $dest_yumconf | head -1) values=$(echo $first_line | sed -e s,gpgkey=,,) - value=$(echo $values | awk '{print $1;}' | sed -e 's,$basearch,'"$pl_DISTRO_ARCH",g) + value=$(echo $values | sed -e 's,$basearch,'"$pl_DISTRO_ARCH",g) [ -n "$value" ] || return 1 echo $value return 0