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:
2483219
)
import every key only one time
author
S.Çağlar Onur
<caglar@verivue.com>
Fri, 11 Mar 2011 23:01:36 +0000
(18:01 -0500)
committer
S.Çağlar Onur
<caglar@verivue.com>
Fri, 11 Mar 2011 23:01:36 +0000
(18:01 -0500)
build.common
patch
|
blob
|
history
diff --git
a/build.common
b/build.common
index
6ebd55b
..
749f34d
100644
(file)
--- 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 | xargs)
+ values=$(grep -h '^gpgkey=' $dest_yumconf | sed -e s,gpgkey=,, | sed -e 's,$basearch,'"$pl_DISTRO_ARCH",g |
sort | uniq |
xargs)
[ -n "$values" ] || return 1
echo $values
return 0