git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfec5a
)
import all gpg keys for a given repo
author
S.Çağlar Onur
<caglar@verivue.com>
Fri, 11 Mar 2011 22:44:25 +0000
(17:44 -0500)
committer
S.Çağlar Onur
<caglar@verivue.com>
Fri, 11 Mar 2011 22:44:25 +0000
(17:44 -0500)
build.common
patch
|
blob
|
history
diff --git
a/build.common
b/build.common
index
7b5cec5
..
00165d4
100644
(file)
--- 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