Change shell code style inside .spec

This commit is contained in:
Marian Koncek 2022-10-19 12:03:04 +02:00
parent 9251754e65
commit d6326e00ce

View File

@ -302,15 +302,13 @@ OpenJDK 8 toolchain for Java Packages Bootstrap.
# leave out licensing breakdown file # leave out licensing breakdown file
other_sources=$(echo %{sources} | cut -d' ' -f4-) other_sources=$(echo %{sources} | cut -d' ' -f4-)
for source in ${other_sources} for source in ${other_sources}; do
do
tar -xf "${source}" tar -xf "${source}"
done done
%patch0 -p1 %patch0 -p1
for patch_path in patches/*/* for patch_path in patches/*/*; do
do
package_name="$(echo ${patch_path} | cut -f2 -d/)" package_name="$(echo ${patch_path} | cut -f2 -d/)"
patch_name="$(echo ${patch_path} | cut -f3 -d/)" patch_name="$(echo ${patch_path} | cut -f3 -d/)"