From: Tom Tromey Date: Mon, 13 Nov 1995 19:37:59 +0000 (+0000) Subject: (dist): Bug fix X-Git-Tag: Release-0-25~338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8767a864e044b405f0c83eb82adaee10d940bb81;p=thirdparty%2Fautomake.git (dist): Bug fix --- diff --git a/dist-subd-top.am b/dist-subd-top.am index 382a1952a..b5c61d74c 100644 --- a/dist-subd-top.am +++ b/dist-subd-top.am @@ -12,7 +12,7 @@ dist: $(DIST_FILES) $(DIST_DIRS) chmod 777 $(distdir)/$$subdir; \ (cd $$subdir; $(MAKE) subdir=$$subdir $@) || exit 1; \ done - @sublist=$(DIST_SUBDIRS); \ + @sublist="$(DIST_SUBDIRS)"; \ for dir in $$sublist; do \ echo copying directory $$dir; \ tar cf - $$dir | (cd $(distdir); tar xBpf -); \ diff --git a/dist.am b/dist.am index bbabdcd24..2c7af76ae 100644 --- a/dist.am +++ b/dist.am @@ -7,7 +7,7 @@ dist: $(DIST_FILES) $(DIST_DIRS) ln $(srcdir)/$$file $(distdir)/$$file || \ { echo copying $$file instead; cp -p $(srcdir)/$$file $(distdir)/$$file;}; \ done - @sublist=$(DIST_SUBDIRS); \ + @sublist="$(DIST_SUBDIRS)"; \ for dir in $$sublist; do \ echo copying directory $$dir; \ tar cf - $$dir | (cd $(distdir); tar xBpf -); \