changeset 97:6e6274aa3916

docker (base): fixed arguments handling in dbus_wrap
author Goffi <goffi@goffi.org>
date Fri, 26 Feb 2016 11:33:35 +0100
parents c425b8a99a29
children 349cbfea2596
files docker/base/Dockerfile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docker/base/Dockerfile	Wed Feb 24 20:29:30 2016 +0100
+++ b/docker/base/Dockerfile	Fri Feb 26 11:33:35 2016 +0100
@@ -165,7 +165,7 @@
 
 # this script will launch the command with good D-BUS parameters
 # it needs to be copied and made executable by frontends
-RUN echo "#!/bin/sh\nexport DBUS_SESSION_BUS_ADDRESS=tcp:host=sat,port=55555,family=ipv4\nexec /usr/bin/\$(basename \$0) \$@" > /usr/local/bin/dbus_wrap
+RUN echo '#!/bin/sh\nexport DBUS_SESSION_BUS_ADDRESS=tcp:host=sat,port=55555,family=ipv4\nexec /usr/bin/$(basename "$0") "$@"' > /usr/local/bin/dbus_wrap
 
 ##########
 # LAUNCH #