Yocto: compatibility: "remove bashism" 41/25341/2 accepted/tizen/common/20141027.223138 accepted/tizen/mobile/20141120.054833 submit/tizen_common/20141024.152722 submit/tizen_common/20141027.223054 submit/tizen_mobile/20141120.053809
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 4 Aug 2014 06:58:53 +0000 (08:58 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 9 Oct 2014 11:49:56 +0000 (04:49 -0700)
Yocto users can use different shells so the code inside recipes should
not be "bash only compliant".

Bug-Tizen: BTY-21
Change-Id: I5e91b4a284e195ff823f25f9eeed12544344c4b0
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/rpm.spec

index 9fb9c36..9ac417e 100644 (file)
@@ -184,7 +184,8 @@ rm -f %{buildroot}%{rpmlibdir}/rpmpopt
 rm -rf %{buildroot}%{_mandir}/{fr,ja,ko,pl,ru,sk}
 rm -f %{buildroot}%{_datadir}/locale/de/LC_MESSAGES/rpm.mo
 rm -f %{buildroot}%{rpmhome}/cpanflute %{buildroot}%{rpmhome}/cpanflute2
-install -m 755 scripts/find-supplements{,.ksyms} %{buildroot}%{rpmhome}
+install -m 755 scripts/find-supplements %{buildroot}%{rpmhome}
+install -m 755 scripts/find-supplements.ksyms %{buildroot}%{rpmhome}
 install -m 755 scripts/firmware.prov %{buildroot}%{rpmhome}
 install -m 755 scripts/debuginfo.prov %{buildroot}%{rpmhome}
 rm -f %{buildroot}%{rpmlibdir}/locale %{buildroot}%{rpmlibdir}/rpmrc