scripts: use correct way to check for Androids sh implementation

This commit is contained in:
Simon Fels 2016-07-05 14:44:31 +02:00
commit 92bb3ca79f

View file

@ -17,7 +17,9 @@ 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
[ ! -e /dev/$f ] && continue
if [ ! -e /dev/$f ] ; then
continue
fi
chown system:system /dev/$f
chmod 0666 /dev/$f
done