File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
# USAGE: docker2singularity.sh ubuntu:14.04
13
13
#
14
14
#
15
- # Copyright (c) 2016-2019 Vanessa Sochat, All Rights Reserved
15
+ # Copyright (c) 2016-2024 Vanessa Sochat, All Rights Reserved
16
16
# Copyright (c) 2017 Singularityware LLC and AUTHORS
17
17
#
18
18
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -243,7 +243,7 @@ unset SINGULARITY_MESSAGELEVEL
243
243
echo " (4/10) Adding run script..."
244
244
245
245
function shell_escape () {
246
- python -c ' import json, pipes, sys; print " ".join(pipes.quote(a) for a in json.load(sys.stdin) or [])'
246
+ python -c ' import json, pipes, sys; print( " ".join(pipes.quote(a) for a in json.load(sys.stdin) or []) )'
247
247
}
248
248
249
249
CMD=$( docker inspect --format=' {{json .Config.Cmd}}' $image | shell_escape)
You can’t perform that action at this time.
0 commit comments