HAWQ-537. Accept filenames with spaces

Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/857fb48c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/857fb48c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/857fb48c

Branch: refs/heads/HAWQ-537
Commit: 857fb48c5e498f62c5c943cada5243cd39a2afe3
Parents: 09dba2e
Author: C.J. Jameson and Devadass Santhosh Sampath <cjame...@pivotal.io>
Authored: Tue Mar 22 10:32:03 2016 -0700
Committer: C.J. Jameson <cjame...@pivotal.io>
Committed: Tue Jun 28 18:18:22 2016 -0700

----------------------------------------------------------------------
 GNUmakefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/857fb48c/GNUmakefile.in
----------------------------------------------------------------------
diff --git a/GNUmakefile.in b/GNUmakefile.in
index 7d22d38..fd97f4f 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -129,7 +129,7 @@ postgresql-test-$(VERSION).tar: distdir
 
 distdir:
        -rm -rf $(distdir)* $(dummy)
-       for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \
+       IFS=$$(echo -en "\n\b"); for x in `cd $(top_srcdir) && find . -name CVS 
-prune -o -print`; do \
          file=`expr X$$x : 'X\./\(.*\)'`; \
          if test -d "$(top_srcdir)/$$file" ; then \
            mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \

Reply via email to