Source grub-mkconfig_lib from the build directory at build time.

This commit is contained in:
Grégoire Sutre committed 2012-02-10 18:16:27 +01:00
1 parent ebcecdf1c3
commit c8d9ead677
11 files changed
+54 -13

No files matched your search

+4 -1
View File
@@ -34,6 +34,9 @@ platform=@platform@
host_os=@host_os@
pkglibdir="${libdir}/`echo ${PACKAGE_TARNAME}/${target_cpu}-${platform} | sed ${transform}`"
datadir="@datadir@"
if [ "x$pkgdatadir" = x ]; then
pkgdatadir="${datadir}/`echo @PACKAGE_TARNAME@ | sed "${transform}"`"
fi
localedir="@datadir@/locale"
self="`basename $0`"
@@ -77,7 +80,7 @@ else
disk_module=native
fi
. "${datadir}/@PACKAGE@/grub-mkconfig_lib"
. "${pkgdatadir}/grub-mkconfig_lib"
# Usage: usage
# Print the usage.