Replacing cd with pushd

i9_5-fuzzing changed/i9_5-fuzzing/kernel-5.14.0-503.15.1.inferit.2.fuzzing.el9
ebasov 2 weeks ago
parent 19c41bbc4c
commit c8101bcff6
Signed by: ebasov
GPG Key ID: 23356EDA24E5499D

@ -2987,9 +2987,8 @@ find Documentation -type d | xargs chmod u+w
%{__restore_unstripped_root_post}\
%{__modsign_install_post}
%{__spec_install_post}
cd linux-%{KVERREL}
pushd linux-%{KVERREL}
# re-define RPM_VMLINUX_H, because it doesn't carry over from %build
RPM_VMLINUX_H="$(cat ../vmlinux_h_path)"
@ -3269,6 +3268,8 @@ find -type f ! -executable -exec install -D -m644 {} %{buildroot}%{_libexecdir}/
popd
%endif
popd
###
### clean
###

Loading…
Cancel
Save