mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 15:04:01 +08:00
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:
|
||||
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>"
|
||||
|
Loading…
Reference in New Issue
Block a user