- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cmd (0.13 sec)
-
ci/official/containers/linux_arm64/builder.devtoolset/rpm-patch.sh
# # Given an RPM spec file $1, apply its patches. SPEC="$1" grep '%patch' "${SPEC}" |while read cmd ; do N=$(echo "${cmd}" |sed 's,%patch\([0-9]\+\).*,\1,') file=$(grep "Patch$N:" "${SPEC}" |sed 's,.*: ,,') parg=$(echo "${cmd}" |sed 's,.*\(-p[0-9]\).*,\1,') if [[ ! "${file}" =~ doxygen && "${cmd}" != \#* ]]; then echo "patch ${parg} -s < ${file}" patch ${parg} -s < "${file}" fi
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 1.1K bytes - Viewed (0)