From bb8c9f1fb73d876167ff8583b8c1918a7c2060c0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 24 Jul 2021 01:40:30 +0300 Subject: shared-mime-info: use clsed --- extra/shared-mime-info/build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'extra/shared-mime-info') 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"/' src/update-mime-database.c > _ -cat _ > src/update-mime-database.c; rm -f _ +clsed 's//"config.h"/' src/update-mime-database.c # shellcheck disable=2046 "${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \ -- cgit v1.2.3