diff options
| author | Glenn Morris | 2018-02-02 20:58:34 -0500 |
|---|---|---|
| committer | Glenn Morris | 2018-02-02 20:58:34 -0500 |
| commit | 0e0ad865d49dbcfcebaae9204c52e8632e1e2ddf (patch) | |
| tree | 2e5e866cbbca50259bd05ba720f2e8b76934f4db | |
| parent | c532a8015e932fa4bee1ed68ce01b3c0b802d09c (diff) | |
| download | emacs-0e0ad865d49dbcfcebaae9204c52e8632e1e2ddf.tar.gz emacs-0e0ad865d49dbcfcebaae9204c52e8632e1e2ddf.zip | |
; * autogen.sh (check_version): Improve previous change.
| -rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 2e6b62db843..518e5dbe830 100755 --- a/autogen.sh +++ b/autogen.sh | |||
| @@ -85,7 +85,7 @@ check_version () | |||
| 85 | ## /bin/sh should always define the "command" builtin, but for | 85 | ## /bin/sh should always define the "command" builtin, but for |
| 86 | ## some odd reason sometimes it does not on hydra.nixos.org. | 86 | ## some odd reason sometimes it does not on hydra.nixos.org. |
| 87 | ## /bin/sh = "BusyBox v1.27.2", "built-in shell (ash)". ? | 87 | ## /bin/sh = "BusyBox v1.27.2", "built-in shell (ash)". ? |
| 88 | if command -v command > /dev/null; then | 88 | if command -v command > /dev/null 2>&1; then |
| 89 | command -v $uprog > /dev/null || return 1 | 89 | command -v $uprog > /dev/null || return 1 |
| 90 | else | 90 | else |
| 91 | $uprog --version > /dev/null 2>&1 || return 1 | 91 | $uprog --version > /dev/null 2>&1 || return 1 |