Updated Branches:
  refs/heads/sqoop2 11929ae32 -> a8fe563cc

SQOOP-631 Sqoop2 client is not working on Mac OS X


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

Branch: refs/heads/sqoop2
Commit: a8fe563cc78de10c9def7e993a740af7c616ef97
Parents: 11929ae
Author: Bilung Lee <[email protected]>
Authored: Thu Nov 1 15:54:49 2012 -0700
Committer: Bilung Lee <[email protected]>
Committed: Thu Nov 1 15:54:49 2012 -0700

----------------------------------------------------------------------
 dist/src/main/bin/sqoop.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/a8fe563c/dist/src/main/bin/sqoop.sh
----------------------------------------------------------------------
diff --git a/dist/src/main/bin/sqoop.sh b/dist/src/main/bin/sqoop.sh
index dd2e323..2b27cdb 100755
--- a/dist/src/main/bin/sqoop.sh
+++ b/dist/src/main/bin/sqoop.sh
@@ -51,7 +51,7 @@ case $COMMAND in
   client)
     # Build class path with full path to each library
     for f in $CLIENT_LIB/*.jar; do
-      CLASSPATH=${CLASSPATH}:`readlink -f $f`;
+      CLASSPATH="${CLASSPATH}:$CUR_DIR/$f"
     done
 
     # We need to change current directory back to original as optional user 
side script

Reply via email to