projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c532a80
)
; * autogen.sh (check_version): Improve previous change.
author
Glenn Morris
<rgm@gnu.org>
Sat, 3 Feb 2018 01:58:34 +0000
(20:58 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Sat, 3 Feb 2018 01:58:34 +0000
(20:58 -0500)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index 2e6b62db843e2ac17eaff3326b3541ad4a357b3f..518e5dbe830c21865faeee67ced17cf53e57f5ca 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-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