aboutsummaryrefslogtreecommitdiff
path: root/extra/shared-mime-info/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/shared-mime-info/build')
-rwxr-xr-xextra/shared-mime-info/build3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/shared-mime-info/build b/extra/shared-mime-info/build
index 4a2c0ae7..58dddbe2 100755
--- a/extra/shared-mime-info/build
+++ b/extra/shared-mime-info/build
@@ -46,8 +46,7 @@ cat << EOF > config.h
EOF
# Fix config.h include.
-sed 's/<config.h>/"config.h"/' update-mime-database.c > update-mime-database.c.bak
-mv update-mime-database.c.bak update-mime-database.c
+sed -i 's/<config.h>/"config.h"/' update-mime-database.c
# shellcheck disable=2046
"${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \