1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

use test -f, Solaris /bin/sh doesn't know test -e

This commit is contained in:
Björn Jacke 2009-03-02 17:01:37 +01:00 committed by Jeremy Allison
parent 1ea0dca50a
commit 71ffd21d27

View File

@ -2208,7 +2208,7 @@ installliblua:: installdirs liblua
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
-$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
@rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
-if test -e $(LIBLUA_SHARED_TARGET_SONAME) ; then \
-if test -f $(LIBLUA_SHARED_TARGET_SONAME) ; then \
ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
$(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
fi