Add grub-mkconfig support for NetBSD.
This commit is contained in:
parent
bc4a2d832b
commit
0d2c20c6f1
5 changed files with 106 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue