Skip to content

Commit 949b0a2

Browse files
committed
Refrain from using inplace substitution
1 parent 12ef22d commit 949b0a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/release/test-data/release-layout.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ layout:
1414
- shell: |
1515
shasum -a 256 ${{ layout.root }}/* > checksums.txt
1616
# Remove the layout root from the checksums.txt
17-
sed -i '' -e "s|${{ layout.root }}/||g" checksums.txt
17+
# We don't use inplace because of BSD vs GNU shenanigans
18+
sed -e "s|${{ layout.root }}/||g" checksums.txt > checksums-rewritten.txt
19+
mv checksums-rewritten.txt checksums.txt

0 commit comments

Comments
 (0)