Saul Wold <sgw-VuQAYsv1563Yd54FQh9/c...@public.gmane.org> writes: > This change ensures that the ls /etc/rpm-postinsts runs in the target > at first boot time, rather than at the creation time of the script on > the host. > ... > -for i in `ls /etc/rpm-postinsts/`; do > +for i in \`ls /etc/rpm-postinsts/\`; do > i=/etc/rpm-postinsts/$i > echo "Running postinst $i..."
are you really sure, this is enough? $i gets probably expanded too. A better way than to escape all and everything is to quote the EOF marker. E.g. compare i=abc cat << "EOF" echo $i EOF cat << EOF echo $i EOF Enrico _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core