docker update script
This commit is contained in:
parent
42251e8986
commit
43806e2948
@ -5,8 +5,8 @@ if len(sys.argv) != 3:
|
|||||||
print("Invalid number of arguments\n")
|
print("Invalid number of arguments\n")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
path = sys.argv[1]
|
path = os.path.abspath(sys.argv[1])
|
||||||
spec_file = sys.argv[2]
|
spec_file = os.path.abspath(sys.argv[2])
|
||||||
|
|
||||||
with open(spec_file,"r") as f:
|
with open(spec_file,"r") as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
|
Loading…
Reference in New Issue
Block a user