diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-06-20 00:27:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-06-20 00:27:52 +0000 |
commit | 4c506222d92a01bf6cb2481993577d979c4cc25c (patch) | |
tree | 9ac3c99646b7d03cf3892328abca390f23ec69b6 /autogen.sh | |
parent | 0d3718b46799d8d28b9b48d4633da87c91530e5c (diff) |
Don't assume $(uname) works; it's not a standard Bourne shell feature,
and we only assume a Bourne-compatible shell.
It's "OS X", not "OsX".
svn path=/trunk/; revision=50072
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index 3f3e35a242..cbeb84af9a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -123,9 +123,9 @@ $AUTOMAKE --add-missing --gnu $am_opt || exit 1 echo $AUTOCONF $AUTOCONF || exit 1 -if [ $(uname) = Darwin ] ; then +if [ `uname -s` = Darwin ] ; then echo - echo "To configure Wireshark on OsX, you will need to type:" + echo "To configure Wireshark on OS X, you will need to type:" echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11/lib/pkgconfig" echo "before you can run configure." fi |