diff options
Diffstat (limited to 'extra/shared-mime-info/build')
-rwxr-xr-x | extra/shared-mime-info/build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/shared-mime-info/build b/extra/shared-mime-info/build index 58dddbe2..d9c2edf1 100755 --- a/extra/shared-mime-info/build +++ b/extra/shared-mime-info/build @@ -11,7 +11,7 @@ mkdir -p "$1/usr/share/mime/packages" \ "$1/usr/bin" # Install with only English support. -sed -e 's/_comment/comment/g' freedesktop.org.xml.in \ +sed -e 's/_comment/comment/g' data/freedesktop.org.xml.in \ > "$1/usr/share/mime/packages/freedesktop.org.xml" # Replace markers in the file. @@ -19,7 +19,7 @@ sed -e 's|@prefix@|/usr|' -e "s|@VERSION@|$version|" shared-mime-info.pc.in \ > "$1/usr/share/pkgconfig/shared-mime-info.pc" # Define our own config.h statically. -cat << EOF > config.h +cat << EOF > src/config.h #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_FDATASYNC 1 #define HAVE_GETTEXT 0 @@ -46,9 +46,9 @@ cat << EOF > config.h EOF # Fix config.h include. -sed -i 's/<config.h>/"config.h"/' update-mime-database.c +sed -i 's/<config.h>/"config.h"/' src/update-mime-database.c # shellcheck disable=2046 "${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \ $(pkg-config --libs --cflags glib-2.0 libxml-2.0) \ - update-mime-database.c + src/update-mime-database.c |