qemu-boot.sh: Automatically add execute permissions to qemu-boot.sh

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-04-20 13:07:53 +00:00
commit 17d089850e

View file

@ -146,7 +146,7 @@ boot()
myname=`basename $0`
log_delim="==========================="
log running $0 $@
[ -x $0 ] || fatal "$0 is not executable"
[ -x $0 ] || chmod u+x $0 || fatal "$0 is not executable"
exe=`readlink -f $0`
dirname=`dirname $exe`
bridge=priv0