Skip to content

Commit

Permalink
[scripts] Add only the conf directory for the relevant binding to the
Browse files Browse the repository at this point in the history
classpath, rather than all of them.
  • Loading branch information
Govind Kamat committed Jun 18, 2015
1 parent dfd79c8 commit ced4306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ycsb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def usage():
def find_jars(dir, database):
jars = []
for (dirpath, dirnames, filenames) in os.walk(dir):
if dirpath.endswith("conf"):
if dirpath.endswith(os.path.join(database + "-binding", "conf")):
jars.append(dirpath)
for filename in filenames:
if filename.endswith(".jar") and \
Expand Down

0 comments on commit ced4306

Please sign in to comment.