nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d54263
)
macosx: silent error because hostame --vestion does no exists
author
Jean Privat
<jean@pryen.org>
Thu, 2 Mar 2017 14:12:07 +0000
(09:12 -0500)
committer
Jean Privat
<jean@pryen.org>
Thu, 2 Mar 2017 14:12:07 +0000
(09:12 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
tests/tests.sh
patch
|
blob
|
history
diff --git
a/tests/tests.sh
b/tests/tests.sh
index
bddecaf
..
308ff84
100755
(executable)
--- a/
tests/tests.sh
+++ b/
tests/tests.sh
@@
-148,7
+148,7
@@
else
fi
# Detect a working hostname command
-if hostname --version | grep coreutils >/dev/null 2>&1; then
+if hostname --version 2>&1 | grep coreutils >/dev/null 2>&1; then
HOSTNAME="hostname"
else
HOSTNAME="hostname -s"