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:
parent
1ea0dca50a
commit
71ffd21d27
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user