mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
Use perl for in-place substitution.
This commit is contained in:
parent
96734144ba
commit
35a744a5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ while read file; do
|
|||
${ASM_CONVERTER} "${file}" > "${gnu_file}"
|
||||
# The ASM conversion script replaces includes with *_gnu.S. So, replace
|
||||
# occurences of "*-gnu.S" with "*_gnu.s".
|
||||
sed -i "s/-gnu\.S/_gnu\.s/g" "${gnu_file}"
|
||||
perl -pi -e "s/-gnu\.S/_gnu\.s/g" "${gnu_file}"
|
||||
rm -f "${file}"
|
||||
fi
|
||||
done < <(find . -iname '*.s')
|
||||
|
|
|
|||
Loading…
Reference in a new issue