mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add _GENERATE_IMAGE
This commit is contained in:
parent
9089817e8f
commit
0622a98494
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ if [[ -n "${_GENERATE_IMAGE}" ]]; then
|
|||
# check for permissions. if the image doesn't already exist,
|
||||
# then check the directory
|
||||
if [[ ( -e ${_GENERATE_IMAGE} && ! -w ${_GENERATE_IMAGE} ) ||
|
||||
( ! -d ${${_GENERATE_IMAGE%/*} || ! -w ${${_GENERATE_IMAGE%/*} ) ]]; then
|
||||
( ! -d ${_GENERATE_IMAGE%/*} || ! -w ${_GENERATE_IMAGE%/*} ) ]]; then
|
||||
die "Unable to write to '%s'" "${_GENERATE_IMAGE}"
|
||||
fi
|
||||
msg "Starting build: '%s'" "${_KERNELVERSION}"
|
||||
|
|
Loading…
Reference in a new issue