We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473a0e9 commit 008ec30Copy full SHA for 008ec30
1 file changed
docker2singularity.sh
@@ -12,7 +12,7 @@
12
# USAGE: docker2singularity.sh ubuntu:14.04
13
#
14
15
-# Copyright (c) 2016-2019 Vanessa Sochat, All Rights Reserved
+# Copyright (c) 2016-2024 Vanessa Sochat, All Rights Reserved
16
# Copyright (c) 2017 Singularityware LLC and AUTHORS
17
18
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -243,7 +243,7 @@ unset SINGULARITY_MESSAGELEVEL
243
echo "(4/10) Adding run script..."
244
245
function shell_escape () {
246
- python -c 'import json, pipes, sys; print " ".join(pipes.quote(a) for a in json.load(sys.stdin) or [])'
+ python -c 'import json, pipes, sys; print(" ".join(pipes.quote(a) for a in json.load(sys.stdin) or []))'
247
}
248
249
CMD=$(docker inspect --format='{{json .Config.Cmd}}' $image | shell_escape)
0 commit comments