Add grub-mkconfig support for NetBSD.

This commit is contained in:
Grégoire Sutre committed 2010-04-19 21:25:41 +02:00
1 parent bc4a2d832b
commit 0d2c20c6f1
5 files changed
+106 -1

No files matched your search

+7 -1
View File
@@ -31,6 +31,12 @@ if test "x$grub_mkrelpath" = x; then
grub_mkrelpath=${bindir}/`echo grub-mkrelpath | sed ${transform}`
fi
if $(which gettext >/dev/null 2>/dev/null) ; then
gettext="gettext"
else
gettext="echo"
fi
grub_warn ()
{
echo "Warning: $@" >&2
@@ -190,5 +196,5 @@ version_find_latest ()
}
gettext_quoted () {
gettext "$@" | sed "s/'/'\\\\''/g"
$gettext "$@" | sed "s/'/'\\\\''/g"
}