mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Add grub-mkconfig support for NetBSD.
This commit is contained in:
1 parent
bc4a2d832b
commit
0d2c20c6f1
5 files changed
+106
-1
No files matched your search
@@ -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"
|
||||
}
|
||||
Reference in new issue
Block a user