diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-06-07 17:38:51 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-06-07 17:38:51 +0000 |
commit | 7e17ea468d8d96c3bd17cf952162ad93cd9a50fb (patch) | |
tree | b8770006f759e3f00bd6dc05d184a2618dd8cd85 /dev-lang/ocaml/files | |
parent | xine-lib: fix CVE-2008-1878 (diff) | |
download | gentoo-2-7e17ea468d8d96c3bd17cf952162ad93cd9a50fb.tar.gz gentoo-2-7e17ea468d8d96c3bd17cf952162ad93cd9a50fb.tar.bz2 gentoo-2-7e17ea468d8d96c3bd17cf952162ad93cd9a50fb.zip |
Tune up a bit ocaml-rebuild.sh so that it does not give syntax errors on non integer slots.
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-lang/ocaml/files')
-rw-r--r-- | dev-lang/ocaml/files/ocaml-rebuild.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/dev-lang/ocaml/files/ocaml-rebuild.sh b/dev-lang/ocaml/files/ocaml-rebuild.sh index 9a81033e9201..d0fc233c046e 100644 --- a/dev-lang/ocaml/files/ocaml-rebuild.sh +++ b/dev-lang/ocaml/files/ocaml-rebuild.sh @@ -35,14 +35,8 @@ do toclean="=$category/$pkg $toclean" tocleanstr="\"$category/$pkg\" $tocleanstr" - if [ $slot -eq 0 ] - then - tobuild=">=$category/$pkg $tobuild" - tobuildstr="\">=$category/$pkg\" $tobuildstr" - else - tobuild="=$category/$pkg $tobuild" - tobuildstr="\"=$category/$pkg\" $tobuildstr" - fi + tobuild=">=$category/$pkg:$slot $tobuild" + tobuildstr="\">=$category/$pkg:$slot\" $tobuildstr" done echo Cleaning $tocleanstr |