From 605ac2432fc9e623b0074a0013bd6c6e046a2273 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 24 Oct 2006 20:15:26 +0000 Subject: [PATCH] Fix make install when using Solaris make git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9473 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index fb9b59c9d..f304d943b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -403,8 +403,8 @@ install-lib: echo "Installing language specific files for $$lang"; \ dst=$(DESTDIR)$(SWIG_LIB)/$$lang; \ $(MKINSTDIRS) $$dst; \ - (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`" || doti=""; \ - dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`" || dotswg=""; \ + (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null || echo ''`"; \ + dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null || echo ''`"; \ if [ -f $(srcdir)/Lib/$$lang/extra-install.list ]; then \ extra="`sed '/^#/d' $(srcdir)/Lib/$$lang/extra-install.list`"; \ fi; \