Skip to content

Commit a28285b

Browse files
committed
Don't call bash as a subshell
%prep and friends run in a shell anyways, so why not use that one directly. Signed-off-by: Dorian Stoll <[email protected]>
1 parent 4982b99 commit a28285b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/fedora/libwacom-surface.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ Tablet information client library data files.
5050
%autosetup -S git -n libwacom-%{version}
5151
ls -l ../
5252
ls -l ../../../
53-
bash -c 'for p in "../libwacom-surface/"*.patch; do patch -p1 < "${p}"; done'
53+
for p in ../libwacom-surface/*.patch; do
54+
patch -p1 < "${p}"
55+
done
5456
git add . && git commit -q --author 'rpm-build <rpm-build>' -m 'libwacom-surface-%{version} base'
5557

5658
%build

0 commit comments

Comments
 (0)