mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Remove the gawk dependency.
This reverts commit 1814251453.
Demote the gawk call back to awk and ensure that stderr is attached. GNU gawk
tolerates a missing stderr handle, but many utilities do not, which could be
why a regular awk call was unexplainably failing on some systems.
Use argv[0] instead of sh_path for consistency internally and with other Linux
drivers.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
fa6f7d8f9d
commit
ad35b6a6e9
@@ -15719,22 +15719,7 @@ fi
|
||||
|
||||
|
||||
;;
|
||||
user)
|
||||
|
||||
if test "x$AWK" != xgawk; then
|
||||
|
||||
{ { $as_echo "$as_me:$LINENO: error:
|
||||
*** Required util gawk missing. Please install the required
|
||||
*** gawk package for your distribution and try again." >&5
|
||||
$as_echo "$as_me: error:
|
||||
*** Required util gawk missing. Please install the required
|
||||
*** gawk package for your distribution and try again." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
|
||||
fi
|
||||
|
||||
|
||||
;;
|
||||
user) ;;
|
||||
all)
|
||||
|
||||
|
||||
@@ -19797,22 +19782,7 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if test "x$AWK" != xgawk; then
|
||||
|
||||
{ { $as_echo "$as_me:$LINENO: error:
|
||||
*** Required util gawk missing. Please install the required
|
||||
*** gawk package for your distribution and try again." >&5
|
||||
$as_echo "$as_me: error:
|
||||
*** Required util gawk missing. Please install the required
|
||||
*** gawk package for your distribution and try again." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
|
||||
fi
|
||||
|
||||
|
||||
;;
|
||||
;;
|
||||
srpm) ;;
|
||||
*)
|
||||
{ $as_echo "$as_me:$LINENO: result: Error!" >&5
|
||||
|
||||
Reference in New Issue
Block a user