diff --git a/docker_update.py b/docker_update.py index cef82a7..c89d33f 100644 --- a/docker_update.py +++ b/docker_update.py @@ -5,8 +5,8 @@ if len(sys.argv) != 3: print("Invalid number of arguments\n") exit(1) -path = sys.argv[1] -spec_file = sys.argv[2] +path = os.path.abspath(sys.argv[1]) +spec_file = os.path.abspath(sys.argv[2]) with open(spec_file,"r") as f: lines = f.readlines()