diff options
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r-- | morphlib/stagingarea.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py index ba2bf39c..6965252d 100644 --- a/morphlib/stagingarea.py +++ b/morphlib/stagingarea.py @@ -21,6 +21,7 @@ import cliapp from urlparse import urlparse import tempfile import fcntl +import pipes import morphlib @@ -292,7 +293,7 @@ class StagingArea(object): cmdline = morphlib.util.containerised_cmdline( shell_command, **container_config) with open(chroot_script, 'w') as f: - f.write(' '.join(map(cliapp.shell_quote, cmdline))) + f.write(' '.join(map(pipes.quote, cmdline))) return exit |