From baec7d3ce5d6f4d32ff67f30a81cd431460fceae Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 17 Feb 2005 22:16:48 +0000 Subject: [PATCH] SF #1115055: Failed make install. Patch from Rob Stone. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6966 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7773308b4..6fa2c73f9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -332,8 +332,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`"; \ - dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`"; \ + (doti="`cd $(srcdir)/Lib/$$lang && ls *.i 2>/dev/null`" || doti=""; \ + dotswg="`cd $(srcdir)/Lib/$$lang && ls *.swg 2>/dev/null`" || dotswg=""; \ if [ -f $(srcdir)/Lib/$$lang/extra-install.list ]; then \ extra="`sed '/^#/d' $(srcdir)/Lib/$$lang/extra-install.list`"; \ fi; \