git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import every key only one time
[build.git]
/
build.common
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
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
[ -n "$values" ] || return 1
echo $values
return 0