run.py: try working directory as a build path if no paths provided

This commit is contained in:
Andrey Kamaev 2012-04-16 15:18:47 +00:00
parent b835c04589
commit 965dbf3620

View File

@ -756,7 +756,7 @@ if __name__ == "__main__":
else:
options.mode = "perf"
run_args = getRunArgs(args)
run_args = getRunArgs(args[1:] or ['.'])
if len(run_args) == 0:
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<build_path>"