6 bacula=${bacula:-${HOME}/bacula/k/bacula}
7 docs=${docs:-${HOME}/bacula/k/docs}
8 rescue=${rescue:-${HOME}/bacula/k/rescue}
10 # Set the following to your remote name. By default it is origin.
15 # Note, you will probably want to set updatepo=no if you
16 # run this script multiple times for a given release.
20 echo "Need $0 <Branch-to-release>"
21 echo "e.g. $0 Branch-5.0"
28 ./makebacularel $bacula $remote $branch
29 ./makedocsrel $bacula $docs $remote $branch
30 ./makerescuerel $rescue $remote $branch
31 ./makewinrel $bacula $remote $branch | tee win$$.log
33 # strip ./configure strerror from Win log file
34 sed -i -e 's%strerror%%' win$$.log
35 # check for warning and error messages
36 grep -i warning win$$.log >/dev/null
37 if [ $? -eq 0 ] ; then
39 echo "Warnings in win$$.log"
42 grep -i error win$$.log >/dev/null
43 if [ $? -eq 0 ] ; then
45 echo "Errors in win$$.log"