]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/makeall
Fix bat seg fault
[bacula/bacula] / bacula / release / makeall
1 #!/bin/sh
2 #
3 # Make full release
4 #
5 # Bacula git repos
6 bacula=${bacula:-/home/kern/bacula/k}
7 docs=${docs:-/home/kern/bacula/docs}
8 rescue=${rescue:-/home/kern/bacula/rescue}
9 export push=yes
10 export updatepo=yes
11
12 current=$(cd $bacula ; git branch | awk '/*/ { print $2 }')
13 branch=${1:-$current}
14
15 ./makeclean
16 ./makebacularel $bacula $branch
17 ./makedocsrel $bacula $docs $branch
18 ./makerescuerel $rescue $branch
19 ./makewinrel $bacula $branch | tee win$$.log
20
21 grep -i warning win$$.log >/dev/null
22 if [ $? -eq 0 ] ; then
23   echo " "
24   echo "Warnings in win$$.log"
25   exit 1
26 fi
27 grep -i error win$$.log >/dev/null
28 if [ $? -eq 0 ] ; then
29   echo " "
30   echo "Errors in win$$.log"
31   exit 1
32 fi
33 rm -f win$$.log