123456789101112131415161718 |
- source /etc/tabannusi/config.sh
- cd $repository
- log1=`git log -1 --pretty=%B`
- log2=`cat $temp/q.txt`
- log1_copy=$log1
- if [ "$log1" = "$log2" ]
- then
- q=1
- else
- echo $log1 >$temp/q.txt
- remove_char="_"
- log1=${log1//" "/$remove_char}
- cp -R $repository $build_path/$log1
- cd $build_path/$log1
- /etc/tabannusi/build.sh &>/tmp/q.tmp
- echo "this build log for "$log1_copy|mutt -a /tmp/q.tmp -s "build log" -- $email
- fi
|