Mercurial > libpst
comparison package @ 61:b4f025d95441 stable-0-6-7
bump the version number in configure.in
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 16 Feb 2008 12:43:07 -0800 |
parents | 97b7706bdda2 |
children |
comparison
equal
deleted
inserted
replaced
60:97b7706bdda2 | 61:b4f025d95441 |
---|---|
8 VER=`echo $T | cut -d, -f2` | 8 VER=`echo $T | cut -d, -f2` |
9 BALL=$NAME-$VER.tar.gz | 9 BALL=$NAME-$VER.tar.gz |
10 web=/home/httpd/html/510sg/$NAME | 10 web=/home/httpd/html/510sg/$NAME |
11 distlog=/tmp/distcheck | 11 distlog=/tmp/distcheck |
12 repo=/usr/hg-repository/$NAME | 12 repo=/usr/hg-repository/$NAME |
13 oldone=$web/packages/$BALL | |
14 | |
15 if [ -f $oldone ]; then | |
16 echo "$oldone already exists, did you update the version in configure.in?" | |
17 exit 0 | |
18 fi | |
13 | 19 |
14 # check for uncommitted changes | 20 # check for uncommitted changes |
15 a=$(hg status) | 21 a=$(hg status) |
16 if [ -n "$a" ]; then | 22 if [ -n "$a" ]; then |
17 hg status | 23 hg status |
83 rpm -ql -p $wp5/$NAME-$VER*6.rpm | 89 rpm -ql -p $wp5/$NAME-$VER*6.rpm |
84 fi | 90 fi |
85 else | 91 else |
86 tail -10 $distlog | 92 tail -10 $distlog |
87 fi | 93 fi |
88 chown --recursive carl:carl * | |
89 | 94 |
90 # throw away the packaging directory | 95 # throw away the packaging directory |
91 cd "$pack/.." | 96 cd "$pack/.." |
92 rm -rf $NAME-package | 97 rm -rf $NAME-package |
93 cd "$orig" | 98 cd "$orig" |