projects
/
catalyst.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
livecdfs-update.sh: Escape ampersands in STARTX sed expression
[catalyst.git]
/
targets
/
support
/
livecdfs-update.sh
diff --git
a/targets/support/livecdfs-update.sh
b/targets/support/livecdfs-update.sh
index 77d694ef0c0562dfa29e8087fda2840cf631cf2e..fda3e362a4dc3ba49c781ad461bb5e2df34a134d 100644
(file)
--- a/
targets/support/livecdfs-update.sh
+++ b/
targets/support/livecdfs-update.sh
@@
-389,7
+389,7
@@
esac
if [ -e /etc/startx ]
then
sed -i \
- "s:##STARTX:source /etc/profile
&
& su - ${first_user} -c startx:" \
+ "s:##STARTX:source /etc/profile
\&\
& su - ${first_user} -c startx:" \
/root/.bashrc
fi