5 # >>> = Executing command
9 echo $* | tee -a $LOG_ALL | tee -a $LOG_THIS
29 cat $* | tee -a $LOG_ALL | tee -a $LOG_THIS
38 touch /tmp/_aros_build_fail
40 ) 2>&1 | tee -a $LOG_ALL | tee -a $LOG_THIS
41 if [ -f /tmp/_aros_build_fail ]; then
42 printe "Command '$*' returned error. ABORTING BUILD!"
43 rm -f /tmp/_aros_build_fail
51 archname=$(basename $1)
55 execute tar cjvf $1 --exclude=.svn $2
57 echo ">>> md5sum $archname >$archname.md5"
58 md5sum $archname >$archname.md5
65 archname=$(basename $1)
69 execute zip -r9 $1 $2 -x \*/.svn/\*
71 echo ">>> md5sum $archname >$archname.md5"
72 md5sum $archname >$archname.md5
79 archname=$(basename $1)
83 execute lha -a -x=\*/.svn/\* $1 $2
85 echo ">>> md5sum $archname >$archname.md5"
86 md5sum $archname >$archname.md5
98 if [ ! -f $LOG_THIS ]; then
99 touch $LOG_THIS >/dev/null