summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2007-11-13 18:15:01 +0000
committerBruce Momjian2007-11-13 18:15:01 +0000
commitdb98f2fefca99225a03cd247875bba34d54ae684 (patch)
tree5ac4e7304fd52da8cba3a44ad84c385542ada315
parent466a5f36954bf26f6a338e37de2ff049dabcc6a7 (diff)
Modify OS/X Darin test to actually work, (no $template)
-rwxr-xr-xconfig/install-sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/install-sh b/config/install-sh
index cb2628d8a3..c3daa3e765 100755
--- a/config/install-sh
+++ b/config/install-sh
@@ -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