aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-29 20:08:39 +0300
committerCem Keylan <cem@ckyln.com>2020-01-29 20:08:39 +0300
commit2e167ad9c5b887b81a1b49e34543af89e9f7bcdc (patch)
tree1436ff9b3513bec9427f69175ebfeed2ce0be4e3 /extra/webkit2gtk
parent1e2b69791446ccaaebf648a52d7bf52e759684f0 (diff)
downloadrepository-2e167ad9c5b887b81a1b49e34543af89e9f7bcdc.tar.gz
webkit2gtk: remove -i from sed on build
Diffstat (limited to 'extra/webkit2gtk')
-rwxr-xr-xextra/webkit2gtk/build9
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build
index 05ba8c84..68ce922e 100755
--- a/extra/webkit2gtk/build
+++ b/extra/webkit2gtk/build
@@ -3,9 +3,12 @@
patch -p1 < fix-musl.patch
# Remove gettext requirement.
-sed -i 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c
-sed -i '/po_files *.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt
-sed -i '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt
+sed 's/ngettext/printf/g' Tools/MiniBrowser/gtk/BrowserDownloadsBar.c > .browser.c
+mv .browser.c Tools/MiniBrowser/gtk/BrowserDownloadsBar.c
+sed '/po_files *.po/d' Source/WebCore/platform/gtk/po/CMakeLists.txt > .cmake.bak
+mv .cmake.bak Source/WebCore/platform/gtk/po/CMakeLists.txt
+sed '/^GETTEXT_C/d' Source/WebCore/platform/gtk/po/CMakeLists.txt > .cmake.bak
+mv .cmake.bak Source/WebCore/platform/gtk/po/CMakeLists.txt
export DESTDIR="$1"