Skip to content

Commit 2618b7b

Browse files
committed
Fix sed call for bsd-like
1 parent 510284f commit 2618b7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

9000/update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
for i in $(ls); do
1111
if [ -d "$i" ]; then
1212
echo setting version on "$i/Dockerfile"
13-
sed -i "s/ENV\ JRUBY_VERSION.*/ENV JRUBY_VERSION ${JRUBY_VERSION}/" "$i/Dockerfile"
14-
sed -i "s/ENV\ JRUBY_SHA256.*/ENV JRUBY_SHA256 ${SHA}/" "$i/Dockerfile"
13+
sed -i -- "s/ENV\ JRUBY_VERSION.*/ENV JRUBY_VERSION ${JRUBY_VERSION}/" "$i/Dockerfile"
14+
sed -i -- "s/ENV\ JRUBY_SHA256.*/ENV JRUBY_SHA256 ${SHA}/" "$i/Dockerfile"
1515
fi
1616
done
1717

0 commit comments

Comments
 (0)