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/f0f61de1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/f0f61de1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/f0f61de1

Branch: refs/heads/HAWQ-537
Commit: f0f61de116071585d1f38970033d8f70132b9887
Parents: a84d55c
Author: C.J. Jameson and Devadass Santhosh Sampath <[email protected]>
Authored: Tue Mar 22 10:32:03 2016 -0700
Committer: C.J. Jameson and Devadass Santhosh Sampath 
<[email protected]>
Committed: Tue Mar 22 11:03:38 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f0f61de1/GNUmakefile.in
----------------------------------------------------------------------
diff --git a/GNUmakefile.in b/GNUmakefile.in
index f20ee2c..1fc84a3 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -121,7 +121,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