From dab137dc49ece5edb2539ccb990f0e274ae5a49cd679161b8ddcaf416472a7b8 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Wed, 29 Oct 2014 17:18:15 +0000 Subject: [PATCH] Accepting request 258738 from home:Ledest:misc fix bashisms in pre script OBS-URL: https://build.opensuse.org/request/show/258738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=31 --- python-docutils.changes | 5 +++++ python-docutils.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-docutils.changes b/python-docutils.changes index b6a7c32..aef1961 100644 --- a/python-docutils.changes +++ b/python-docutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 29 02:14:00 UTC 2014 - Led + +- fix bashisms in pre script + ------------------------------------------------------------------- Tue Jul 15 10:36:57 UTC 2014 - toddrme2178@gmail.com diff --git a/python-docutils.spec b/python-docutils.spec index 5379e08..67d1939 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -72,9 +72,8 @@ nosetests # Since binaries became ghosted to be used with update-alternatives, # we have to get rid of the old binary resulting from the # non-update-alternativies-ified package. -binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html" -for i in $binaries; do - [[ ! -L %{_bindir}/${i} ]] && rm -f %{_bindir}/${i} +for i in rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html; do + [ -L %_bindir/$i ] || rm -f %_bindir/$i done exit 0