Merge pull request #3000 from xrh0905/xrh0905-patch-sed

Fix device or resource busy when patching IPv6 settings
This commit is contained in:
jc21
2023-07-20 12:17:34 +10:00
committed by GitHub

View File

@ -28,7 +28,7 @@ process_folder () {
for FILE in $FILES
do
echo "- ${FILE}"
sed -E -i "$SED_REGEX" "$FILE"
echo "$(sed -E "$SED_REGEX" "$FILE")" > $FILE
done
# ensure the files are still owned by the npm user