Modify OS/X Darin test to actually work, (no $template)
authorBruce Momjian <[email protected]>
Tue, 13 Nov 2007 18:15:01 +0000 (18:15 +0000)
committerBruce Momjian <[email protected]>
Tue, 13 Nov 2007 18:15:01 +0000 (18:15 +0000)
config/install-sh

index cb2628d8a3a85df1e265c7ee0cf6bc18de473ca0..c3daa3e765e0a256d9aa863ff8240d4db2024102 100755 (executable)
@@ -59,7 +59,7 @@ chgrpprog="${CHGRPPROG-chgrp}"
 # Darwin normal strip removes symbols from shared libraries
 # that are later needed for dynamic linking, so use strip -x.
 # http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
-if test "$template" = "darwin"
+if test expr "`uname -a`" : 'Darwin' -ne 0
 then   stripprog="${STRIPPROG-strip -x}"
 else   stripprog="${STRIPPROG-strip}"
 fi