aboutsummaryrefslogtreecommitdiff
path: root/extra/shared-mime-info/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 01:40:30 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 01:40:30 +0300
commitbb8c9f1fb73d876167ff8583b8c1918a7c2060c0 (patch)
tree9d69695f97aa0f1f291e97b5714845d50eaeae11 /extra/shared-mime-info/build
parent37d2f7501b7bb3256ea9026211ccebf1d0a647ae (diff)
downloadrepository-bb8c9f1fb73d876167ff8583b8c1918a7c2060c0.tar.gz
shared-mime-info: use clsed
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 c2b41d9d..cc1ca68b 100755
--- a/extra/shared-mime-info/build
+++ b/extra/shared-mime-info/build
@@ -43,8 +43,7 @@ cat << EOF > src/config.h
EOF
# Fix config.h include.
-sed 's/<config.h>/"config.h"/' src/update-mime-database.c > _
-cat _ > src/update-mime-database.c; rm -f _
+clsed 's/<config.h>/"config.h"/' src/update-mime-database.c
# shellcheck disable=2046
"${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \