Quote $@ in the lxc wrapper. #27

Merged
merged 1 commit into from Mar 10, 2017

Conversation

Projects
None yet
2 participants

I am hoping this would solve

/snap/bin/lxc exec snapcraft -- python3 -c 'import urllib.request; urllib.request.urlopen("http://start.ubuntu.com/connectivity-check.html", timeout=5)'
  File "<string>", line 1
    import
         ^
SyntaxError: invalid syntax
Qute $@ in the lxc wrapper.
I am hoping this would solve
```
/snap/bin/lxc exec snapcraft -- python3 -c 'import urllib.request; urllib.request.urlopen("http://start.ubuntu.com/connectivity-check.html", timeout=5)'
  File "<string>", line 1
    import
         ^
SyntaxError: invalid syntax
```

@sergiusens sergiusens changed the title from Qute $@ in the lxc wrapper. to Quote $@ in the lxc wrapper. Mar 10, 2017

@sergiusens sergiusens referenced this pull request in snapcore/snapcraft Mar 10, 2017

Closed

meta: do not quote the command wrapper args. #1182

Owner

stgraber commented Mar 10, 2017

That should be fine. Can you also do the other wrappers?

@stgraber stgraber merged commit 9f55dbe into lxc:snappy-16 Mar 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment