Setting update.sh to rights 755 again as they were in the old repository.
[conkeror/arlinius.git] / debian / update.sh
blobd9c17254c15bd35f7df33034bb6ee43bf5f49bb2
1 #!/bin/sh
3 currdir=`dirname $0`/..
4 cd $currdir
5 olddir=$(basename $(pwd -P))
6 echo currdir=$currdir olddir=$olddir
7 quilt pop -a
8 git fetch
9 git log HEAD..origin #optional, shows you the changes
10 echo -n "Hit enter to continue and merge changes or hit Ctrl-C to abort."
11 read line
12 git merge origin
13 version=0.9~git`date +%y%m%d`
14 echo -n "Hit enter to rename directory from $olddir to conkeror-$version\nand generate source tar ball or hit Ctrl-C to abort."
15 read line
16 rm -f spawn-process-helper conkeror-spawn-helper
17 make clean
18 cd ..
19 mv -vi $olddir conkeror-$version
20 tar cvzf conkeror_$version.orig.tar.gz --exclude=debian --exclude=.git --exclude=.pc --exclude=configure-stamp conkeror-$version
21 cd conkeror-$version