Skip to content

Commit 0114b8c

Browse files
committed
in-place sed
1 parent 7d7d6f6 commit 0114b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zim/library/update-kiwixserve-template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ echo "$KIWIX_PATCH" | patch --input=- --output=$TEMPLATE_TMP_PATH -p1 $TEMPLATE_
5757

5858
echo "Replacing KIWIXCACHEID with ${LIBKIWIX_VERSION}"
5959

60-
sed "s/KIWIXCACHEID/$LIBKIWIX_VERSION/g" $TEMPLATE_TMP_PATH > $TEMPLATE_TMP_PATH
60+
sed -i "s/KIWIXCACHEID/$LIBKIWIX_VERSION/g" $TEMPLATE_TMP_PATH > $TEMPLATE_TMP_PATH
6161

6262
echo "Replacing final file…"
6363

0 commit comments

Comments
 (0)