use test -f, Solaris /bin/sh doesn't know test -e
authorBjörn Jacke <bj@sernet.de>
Mon, 2 Mar 2009 16:01:37 +0000 (17:01 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 2 Mar 2009 22:56:58 +0000 (14:56 -0800)
source3/Makefile.in

index e9f408189d7079f779f217b8f980df55b74ac5bd..6aabcf0c8d215ded7559fa0dc52627f12da3290d 100644 (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