Permalink
Browse files

gh-102 Minor fix so the classpath path separator is OS independent

  • Loading branch information...
1 parent bbaaf80 commit 9b38c15d1b82b7937d29eb41cd3f6307c61330d5 @ctasada ctasada committed with Michi Mutsuzaki Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ycsb
View
@@ -107,7 +107,7 @@ database = sys.argv[2]
db_classname = DATABASES[database]
options = sys.argv[3:]
-ycsb_command = ["java", "-cp", ":".join(find_jars(ycsb_home, database)), \
+ycsb_command = ["java", "-cp", os.pathsep.join(find_jars(ycsb_home, database)), \
COMMANDS[sys.argv[1]]["main"], "-db", db_classname] + options
if command:
ycsb_command.append(command)

0 comments on commit 9b38c15

Please sign in to comment.