summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xauto/config6
-rwxr-xr-xnightly_build.bash4
2 files changed, 10 insertions, 0 deletions
diff --git a/auto/config b/auto/config
index 28bdde7..e0fb4cd 100755
--- a/auto/config
+++ b/auto/config
@@ -201,7 +201,13 @@ lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LIN
# Fetch kanotix-scripts if necessary
mkdir -p config/chroot_local-includes/usr/local/bin
+echo "#KLB_config.log" > /tmp/KLB_config.log
grep -oe '^[^ #]*' scripts.urls | wget -i- -N -q -P config/chroot_local-includes/usr/local/bin
+if [ $? -ne 0 ]; then
+ echo "E: Script download failed..." >>/tmp/KLB_config.log
+else
+ echo "Debug: Script download succes..." >>/tmp/KLB_config.log
+fi
chmod 755 config/chroot_local-includes/usr/local/bin/*sh || :
case "$LB_DISTRIBUTION" in
diff --git a/nightly_build.bash b/nightly_build.bash
index 5ec6b00..25eae97 100755
--- a/nightly_build.bash
+++ b/nightly_build.bash
@@ -6,6 +6,10 @@ function check_iso {
echo "K: Kanotix start iso check..." >>binary.log
IERR=0
+if grep -q "^E: " /tmp/KLB_config.log; then
+ echo "K: Download ERROR found...1" >>binary.log
+ IERR=5
+fi
if grep -q "^E: " binary.log; then
echo "K: build ERROR found...1" >>binary.log
IERR=1