mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
better message
This commit is contained in:
parent
707e94936f
commit
7e711098f2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ while [ $# -gt 0 ]; do
|
||||||
_TARGET_DIR="${1}"
|
_TARGET_DIR="${1}"
|
||||||
;;
|
;;
|
||||||
-g) shift
|
-g) shift
|
||||||
[[ -d "${1}" ]] && _abort "Invalid image path -- ${1} is a directory!"
|
[[ -d "${1}" ]] && _abort "Invalid image path -- ${1} is a existing directory!"
|
||||||
if ! _GENERATE_IMAGE="$(readlink -f "${1}")" || [[ ! -e "${_GENERATE_IMAGE%/*}" ]]; then
|
if ! _GENERATE_IMAGE="$(readlink -f "${1}")" || [[ ! -e "${_GENERATE_IMAGE%/*}" ]]; then
|
||||||
_abort "Unable to write to path!" "${1}"
|
_abort "Unable to write to path!" "${1}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue