diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-23 22:55:43 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-23 22:55:43 +0300 |
commit | 72e67390ed82cbb38fa5a6c6a3f314b7b3a0c8e9 (patch) | |
tree | f33d5aa6956aa2d64ea1b01d9365684e3c9bac99 /extra | |
parent | 67c815de38d54941846e4ad054b8f9c030be98aa (diff) | |
download | repository-72e67390ed82cbb38fa5a6c6a3f314b7b3a0c8e9.tar.gz |
shared-mime-info: POSIX sed
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/shared-mime-info/build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/shared-mime-info/build b/extra/shared-mime-info/build index d9c2edf1..d69c0330 100755 --- a/extra/shared-mime-info/build +++ b/extra/shared-mime-info/build @@ -46,7 +46,8 @@ cat << EOF > src/config.h EOF # Fix config.h include. -sed -i 's/<config.h>/"config.h"/' src/update-mime-database.c +sed 's/<config.h>/"config.h"/' src/update-mime-database.c > _ +cat _ > src/update-mime-database.c; rm -f _ # shellcheck disable=2046 "${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \ |