aboutsummaryrefslogtreecommitdiffstats
path: root/rebuild-alpine.sh
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2011-02-21 17:50:47 +0000
committerAndrew Manison <amanison@anselsystems.com>2011-12-10 18:23:46 +0000
commit43d5ae482ba4e2d9709840301ac3ce2251717567 (patch)
treee98714ac165a63e0fdc13f4a12ba984d4c5311eb /rebuild-alpine.sh
parentb5c7540032881da952a96d1102b1cbd0b4e6fe5c (diff)
downloadaports-43d5ae482ba4e2d9709840301ac3ce2251717567.tar.bz2
aports-43d5ae482ba4e2d9709840301ac3ce2251717567.tar.xz
./rebuild_alpine: Increased number of lines included in emailed version of log to 400, 200 head lines and 200 tail lines, to capture all packages added and purged for build.
Diffstat (limited to 'rebuild-alpine.sh')
-rwxr-xr-xrebuild-alpine.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rebuild-alpine.sh b/rebuild-alpine.sh
index a9618b1fe4..a9a7888b1b 100755
--- a/rebuild-alpine.sh
+++ b/rebuild-alpine.sh
@@ -45,13 +45,13 @@ build () {
fi
if [ -n "$mail" ] ; then
echo "sending mail to [$recipients]"
- if [ $(wc -l $rootdir/$1_$p.txt | cut -f 1 -d ' ') -gt 200 ]; then
+ if [ $(wc -l $rootdir/$1_$p.txt | cut -f 1 -d ' ') -gt 400 ]; then
TMPFILE='mktemp' || exit 1
- head -n 100 $rootdir/$1_$p.txt >> $TMPFILE
+ head -n 200 $rootdir/$1_$p.txt >> $TMPFILE
echo "-------" >> $TMPFILE
echo "snip..." >> $TMPFILE
echo "-------" >> $TMPFILE
- tail -n 100 $rootdir/$1_$p.txt >> $TMPFILE
+ tail -n 200 $rootdir/$1_$p.txt >> $TMPFILE
BUILDLOG="$TMPFILE"
else
BUILDLOG="$rootdir/$1_$p.txt"