run.py: try working directory as a build path if no paths provided
This commit is contained in:
parent
b835c04589
commit
965dbf3620
@ -756,7 +756,7 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
options.mode = "perf"
|
options.mode = "perf"
|
||||||
|
|
||||||
run_args = getRunArgs(args)
|
run_args = getRunArgs(args[1:] or ['.'])
|
||||||
|
|
||||||
if len(run_args) == 0:
|
if len(run_args) == 0:
|
||||||
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<build_path>"
|
print >> sys.stderr, "Usage:\n", os.path.basename(sys.argv[0]), "<build_path>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user