diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-24 01:40:30 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-24 01:40:30 +0300 |
commit | bb8c9f1fb73d876167ff8583b8c1918a7c2060c0 (patch) | |
tree | 9d69695f97aa0f1f291e97b5714845d50eaeae11 /extra/shared-mime-info | |
parent | 37d2f7501b7bb3256ea9026211ccebf1d0a647ae (diff) | |
download | repository-bb8c9f1fb73d876167ff8583b8c1918a7c2060c0.tar.gz |
shared-mime-info: use clsed
Diffstat (limited to 'extra/shared-mime-info')
-rwxr-xr-x | extra/shared-mime-info/build | 3 |
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" \ |