diff options
-rwxr-xr-x | xib.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -12,7 +12,6 @@ priv_key="xi.pem" buildfiles="/home/david/docs/proj/xilinux/buildfiles" #buildfiles="$xib_dir/buildfiles" seen="$xib_dir/seen" -logs="$xib_dir/logs" chroot="$xib_dir/chroot" stage="$xib_dir/stage" logs="$xib_dir/logs" @@ -225,7 +224,12 @@ xib_all () { printf "${BLUE}$package_name${LIGHT_BLUE}...already built!\n" } || { xib_single $name || { - $quickfail && return 0 + $quickfail && { + printf "${RED}Failed to build $name, view logs? [Y/n]${RESET}" + read var + [ "${var%${var#?}}"x != 'nx' ] && less $logs/$name.log + return 1 + } } } true |