Code Review
/
src
/
app-framework-main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
26aaf29
)
afm-util: fix incorrect DBUS_SESSION_BUS_ADDRESS syntax
author
Manuel Bachmann
<mbc@iot.bzh>
Thu, 7 Apr 2016 16:36:18 +0000
(16:36 +0000)
committer
Manuel Bachmann
<mbc@iot.bzh>
Thu, 7 Apr 2016 16:36:18 +0000
(16:36 +0000)
The previous ":=" syntax would not work with "/bin/sh" or
"/bin/bash". Make sure we export it, too.
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
scripts/afm-util
patch
|
blob
|
history
diff --git
a/scripts/afm-util
b/scripts/afm-util
index
cc7ab55
..
60434a7
100755
(executable)
--- a/
scripts/afm-util
+++ b/
scripts/afm-util
@@
-1,8
+1,9
@@
#!/bin/sh
if [ "x" = "x${DBUS_SESSION_BUS_ADDRESS}" ]; then
- DBUS_SESSION_BUS_ADDRESS
:=unix:path=/run/user/$UID/bus
+ DBUS_SESSION_BUS_ADDRESS
="unix:path=/run/user/$UID/bus"
fi
+export DBUS_SESSION_BUS_ADDRESS
pretty() {
sed \