1
0
forked from mir/linux-vm-tools

Fixing an invalid escape in bash

This commit is contained in:
Justin Terry (VM) 2018-02-14 10:55:09 -08:00
parent 0e053d87fc
commit 86e30b9c4d

View File

@ -15,10 +15,10 @@ sudo bash -c "cat >~/.xsession <<EOF
for indicator in /usr/lib/x86_64-linux-gnu/indicator-*;
do
basename='basename \${indicator}'
dirname='dirname \${indicator}'
service=\${dirname}/\${basename}/\${basename}-service
\${service} &
basename='basename \\\${indicator}'
dirname='dirname \\\${indicator}'
service=\\\${dirname}/\\\${basename}/\\\${basename}-service
\\\${service} &
done
unity
EOF"