mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 00:29:23 +00:00
* util/grub-mkconfig_lib.in (print_option_help): Properly redirect
stderr on test calls.
This commit is contained in:
1 parent
8b43f587ae
commit
d336f65225
2 files changed
+8
-3
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-mkconfig_lib.in (print_option_help): Properly redirect
|
||||||
|
stderr on test calls.
|
||||||
|
|
||||||
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/jfs.c (grub_jfs_find_file): Handle "." and "..".
|
* grub-core/fs/jfs.c (grub_jfs_find_file): Handle "." and "..".
|
||||||
|
|||||||
@@ -290,16 +290,16 @@ uses_abstraction () {
|
|||||||
|
|
||||||
print_option_help () {
|
print_option_help () {
|
||||||
if test x$print_option_help_wc = x; then
|
if test x$print_option_help_wc = x; then
|
||||||
if wc -L < /dev/null > /dev/null; then
|
if wc -L </dev/null > /dev/null 2>&1; then
|
||||||
print_option_help_wc=-L
|
print_option_help_wc=-L
|
||||||
elif wc -m < /dev/null > /dev/null; then
|
elif wc -m </dev/null > /dev/null 2>&1; then
|
||||||
print_option_help_wc=-m
|
print_option_help_wc=-m
|
||||||
else
|
else
|
||||||
print_option_help_wc=-b
|
print_option_help_wc=-b
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test x$grub_have_fmt = x; then
|
if test x$grub_have_fmt = x; then
|
||||||
if fmt -w 40 < /dev/null > /dev/null; then
|
if fmt -w 40 </dev/null > /dev/null 2>&1; then
|
||||||
grub_have_fmt=y;
|
grub_have_fmt=y;
|
||||||
else
|
else
|
||||||
grub_have_fmt=n;
|
grub_have_fmt=n;
|
||||||
|
|||||||
Reference in new issue
Block a user