]>
Commit | Line | Data |
---|---|---|
9e1a0ddb | 1 | #!/bin/sh |
2 | outdir=${2:-"./"} | |
3 | tm=`date "+%Y-%m-%d-%H-%M-%S"` | |
4 | list=/tmp/$tm | |
5 | tar=$outdir/$tm.tar.gz | |
6 | cvs -z3 -qn update -Ad | grep -v conf/MachineDef | grep -v quickExecution > $list | |
7 | if [ `cat $list | grep -c -e "^C " -e "U "` -gt 0 ] | |
8 | then | |
9 | cat $list | grep -e "^C " -e "^U " | |
10 | else | |
11 | files=$outdir/$tm | |
12 | cat $list | grep -e "^M " -e "^?" | awk '{print $2}' > $outdir/$tm | |
13 | cvs -z3 diff `cat $files` > $outdir/$tm.diffs | |
14 | if [ "$1" = "touch" ] ; then | |
15 | touch `cat $files` | |
16 | fi | |
17 | tar zcvf $tar `cat $files` man share/alirun share/mangen share/makepatch | |
18 | rm $list | |
19 | fi | |
20 |