projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e8172f
)
fix bash syntax for old bashes like on SLES 9 again
author
Adrian Schröter
<adrian@suse.de>
Mon, 8 Feb 2010 12:32:13 +0000
(13:32 +0100)
committer
Adrian Schröter
<adrian@suse.de>
Mon, 8 Feb 2010 12:32:13 +0000
(13:32 +0100)
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index
918f3e1
..
fbfbac6
100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-256,10
+256,10
@@
maybe_add_all_zypp_repos()
if [ "$i" = "zypp://" ]; then
for j in `grep -l enabled=1 /etc/zypp/repos.d/*.repo`; do
j="${j#/etc/zypp/repos.d/}"
- r
+=(
"zypp://${j%.repo}")
+ r
=("${r[@]}"
"zypp://${j%.repo}")
done
else
- r
+=(
"$i")
+ r
=("${r[@]}"
"$i")
fi
done
repos=("${r[@]}")