diff options
author | Michael Adam <obnox@samba.org> | 2008-10-27 13:50:27 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-10-27 13:51:47 +0100 |
commit | 151dfd9dd1315f1058dae04ed4e2f5b66de0881a (patch) | |
tree | 01bbb64348930c2ee19eac2bf4d9bf5b564f53ae | |
parent | e4fe3320ec75f0ba542c689b3072fa8a2ed9e232 (diff) | |
download | samba-151dfd9dd1315f1058dae04ed4e2f5b66de0881a.tar.gz samba-151dfd9dd1315f1058dae04ed4e2f5b66de0881a.tar.bz2 samba-151dfd9dd1315f1058dae04ed4e2f5b66de0881a.zip |
[s3]build: fix bug #5765 - fix installlibs on solaris by using portable "test -r"
instead of test -e, which /bin/sh on solaris does not know.
Michael
-rw-r--r-- | source3/Makefile.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index ace1bd8e15..60832c8391 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -1649,7 +1649,7 @@ installlibtalloc:: installdirs libtalloc @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` - -if test -e $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \ fi @@ -1716,7 +1716,7 @@ installlibtdb:: installdirs libtdb @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` - -if test -e $(LIBTDB_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBTDB_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \ fi @@ -1790,7 +1790,7 @@ installlibwbclient:: installdirs libwbclient @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` - -if test -e $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \ fi @@ -1850,7 +1850,7 @@ installlibaddns:: installdirs libaddns @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` - -if test -e $(LIBADDNS_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \ fi @@ -1937,7 +1937,7 @@ installlibnetapi:: installdirs libnetapi @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` - -if test -e $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \ fi @@ -2001,7 +2001,7 @@ installlibsmbclient:: installdirs libsmbclient @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` - -if test -e $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \ fi @@ -2073,7 +2073,7 @@ installlibsmbsharemodes:: installdirs libsmbsharemodes @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` - -if test -e $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \ + -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \ ln -s -f `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \ fi |