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 1212# USAGE: docker2singularity.sh ubuntu:14.04
1313#
1414#
15- # Copyright (c) 2016-2019 Vanessa Sochat, All Rights Reserved
15+ # Copyright (c) 2016-2024 Vanessa Sochat, All Rights Reserved
1616# Copyright (c) 2017 Singularityware LLC and AUTHORS
1717#
1818# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -243,7 +243,7 @@ unset SINGULARITY_MESSAGELEVEL
243243echo " (4/10) Adding run script..."
244244
245245function 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 []) )'
247247}
248248
249249CMD=$( docker inspect --format=' {{json .Config.Cmd}}' $image | shell_escape)
You can’t perform that action at this time.
0 commit comments