flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhue...@apache.org
Subject [1/3] flink git commit: [FLINK-1832] [scripts] fix conversion to Windows path with spaces
Date Wed, 08 Apr 2015 07:53:14 GMT
Repository: flink
Updated Branches:
  refs/heads/master 07aff921b -> 0afed4dcf


[FLINK-1832] [scripts] fix conversion to Windows path with spaces


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/ae6ff29d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/ae6ff29d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/ae6ff29d

Branch: refs/heads/master
Commit: ae6ff29dc6e19f8af431857817cd44b6796699c2
Parents: 07aff92
Author: Maximilian Michels <mxm@apache.org>
Authored: Tue Apr 7 12:56:12 2015 +0200
Committer: Fabian Hueske <fhueske@apache.org>
Committed: Wed Apr 8 09:49:25 2015 +0200

----------------------------------------------------------------------
 flink-dist/src/main/flink-bin/bin/config.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/ae6ff29d/flink-dist/src/main/flink-bin/bin/config.sh
----------------------------------------------------------------------
diff --git a/flink-dist/src/main/flink-bin/bin/config.sh b/flink-dist/src/main/flink-bin/bin/config.sh
index 232df3e..66e0b80 100755
--- a/flink-dist/src/main/flink-bin/bin/config.sh
+++ b/flink-dist/src/main/flink-bin/bin/config.sh
@@ -25,7 +25,7 @@
 manglePath() {
     UNAME=$(uname -s)
     if [ "${UNAME:0:6}" == "CYGWIN" ]; then
-        echo `cygpath -w $1`
+        echo `cygpath -w "$1"`
     else
         echo $1
     fi
@@ -35,7 +35,7 @@ manglePathList() {
     UNAME=$(uname -s)
     # a path list, for example a java classpath
     if [ "${UNAME:0:6}" == "CYGWIN" ]; then
-        echo `cygpath -wp $1`
+        echo `cygpath -wp "$1"`
     else
         echo $1
     fi


Mime
View raw message