scripts: quote correctly to not cause errors

This commit is contained in:
Simon Fels 2018-06-12 09:49:11 +02:00
commit 19d902f25a

View file

@ -17,7 +17,7 @@ function prepare_filesystem() {
# These dev files need to be adjusted everytime as they are
# bind mounted into the temporary rootfs
for f in qemu_pipe qemu_trace goldfish_pipe input/* ; do
if [ ! -e /dev/$f ] ; then
if [ ! -e "/dev/$f" ] ; then
continue
fi
chown system:system /dev/$f