summaryrefslogtreecommitdiff
path: root/xib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xib.sh')
-rwxr-xr-xxib.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/xib.sh b/xib.sh
index 2b8c6ba..2b4f158 100755
--- a/xib.sh
+++ b/xib.sh
@@ -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