Skip to content

Commit a99e42e

Browse files
SahibYarSahib Yar
andauthored
#576 Reverted the sed command to its original form (#582)
Co-authored-by: Sahib Yar <s.yar@centroidsol.com>
1 parent ebabc69 commit a99e42e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fixFixtures.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ fi
1717

1818
for file in $(grep --recursive --files-with-matches "${FASTLY_TEST_RESOURCE_ID}" "${FIXTURESDIR}")
1919
do
20-
sed -i "s/${FASTLY_TEST_RESOURCE_ID}/${DEFAULT_TEST_RESOURCE_ID}/g" "${file}"
20+
sed -i.bak "s/${FASTLY_TEST_RESOURCE_ID}/${DEFAULT_TEST_RESOURCE_ID}/g" "$file" && rm "${file}.bak"
2121
done

0 commit comments

Comments
 (0)