Repository: calcite
Updated Branches:
  refs/heads/master 2b93eaa35 -> 714f6b740


Fix sqlsh on Linux


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

Branch: refs/heads/master
Commit: d00733bb77ab5fe452dcbbb7b84c5d310e78533f
Parents: 2b93eaa
Author: Julian Hyde <[email protected]>
Authored: Tue May 1 18:10:35 2018 -0700
Committer: Julian Hyde <[email protected]>
Committed: Tue May 1 18:33:00 2018 -0700

----------------------------------------------------------------------
 sqlsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/d00733bb/sqlsh
----------------------------------------------------------------------
diff --git a/sqlsh b/sqlsh
index c606f53..983e05c 100755
--- a/sqlsh
+++ b/sqlsh
@@ -22,7 +22,7 @@
 # Build classpath on first call.
 # (To force rebuild, remove target/fullclasspath.txt.)
 
-root=$(cd $(dirname $(readlink $0)); pwd)
+root=$(cd "$(dirname "$(readlink $0)")"; pwd)
 
 if [ ! -f ${root}/target/fullclasspath.txt ]; then
   (

Reply via email to