mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; * autogen.sh (check_version): Improve previous change.
This commit is contained in:
parent
c532a8015e
commit
0e0ad865d4
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ check_version ()
|
|||
## /bin/sh should always define the "command" builtin, but for
|
||||
## some odd reason sometimes it does not on hydra.nixos.org.
|
||||
## /bin/sh = "BusyBox v1.27.2", "built-in shell (ash)". ?
|
||||
if command -v command > /dev/null; then
|
||||
if command -v command > /dev/null 2>&1; then
|
||||
command -v $uprog > /dev/null || return 1
|
||||
else
|
||||
$uprog --version > /dev/null 2>&1 || return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue