diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-11-13 18:15:01 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-11-13 18:15:01 +0000 |
commit | a4840c82da1d0ff587756152b48b44aea8cc231d (patch) | |
tree | 04a04095986026b4ba1c4500ea3c66ac65817d1d | |
parent | 30e2c42e00a501278ffe80223bada52e2ba269f3 (diff) | |
download | postgresql-a4840c82da1d0ff587756152b48b44aea8cc231d.tar.gz postgresql-a4840c82da1d0ff587756152b48b44aea8cc231d.zip |
Modify OS/X Darin test to actually work, (no $template)
-rwxr-xr-x | config/install-sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/install-sh b/config/install-sh index 9796c8dea4c..9f70329b173 100755 --- a/config/install-sh +++ b/config/install-sh @@ -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 |