]> granicus.if.org Git - postgresql/commitdiff
Modify OS/X Darin test to actually work, (no $template)
authorBruce Momjian <bruce@momjian.us>
Tue, 13 Nov 2007 18:15:01 +0000 (18:15 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 13 Nov 2007 18:15:01 +0000 (18:15 +0000)
config/install-sh

index 9796c8dea4cd10d2fcb2b9a25ecfb41121a8aec1..9f70329b173dd8acdaf0006941d27bd46ee1a344 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # install - install a program, script, or datafile
 
-# $PostgreSQL: pgsql/config/install-sh,v 1.5 2007/11/10 16:15:23 momjian Exp $
+# $PostgreSQL: pgsql/config/install-sh,v 1.6 2007/11/13 18:15:01 momjian Exp $
 
 scriptversion=2005-02-02.21
 
@@ -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