aboutsummaryrefslogtreecommitdiff
path: root/extra/webkit2gtk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkit2gtk')
-rwxr-xr-xextra/webkit2gtk/build9
1 files changed, 3 insertions, 6 deletions
diff --git a/extra/webkit2gtk/build b/extra/webkit2gtk/build
index 68ce922e..05ba8c84 100755
--- a/extra/webkit2gtk/build
+++ b/extra/webkit2gtk/build
@@ -3,12 +3,9 @@
patch -p1 < fix-musl.patch
# Remove gettext requirement.
-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
+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
export DESTDIR="$1"