From 43806e2948cbdeb137116a66a6fe77af15408560 Mon Sep 17 00:00:00 2001 From: quackerd Date: Sun, 19 Jun 2022 22:16:26 -0400 Subject: [PATCH] docker update script --- docker_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()