mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Modify OS/X Darin test to actually work, (no $template)
This commit is contained in:
parent
30e2c42e00
commit
a4840c82da
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# install - install a program, script, or datafile
|
# 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
|
scriptversion=2005-02-02.21
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ chgrpprog="${CHGRPPROG-chgrp}"
|
|||||||
# Darwin normal strip removes symbols from shared libraries
|
# Darwin normal strip removes symbols from shared libraries
|
||||||
# that are later needed for dynamic linking, so use strip -x.
|
# that are later needed for dynamic linking, so use strip -x.
|
||||||
# http://archives.postgresql.org/pgsql-hackers/2007-10/msg01470.php
|
# 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}"
|
then stripprog="${STRIPPROG-strip -x}"
|
||||||
else stripprog="${STRIPPROG-strip}"
|
else stripprog="${STRIPPROG-strip}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user