QGIS/scripts/build_debian_package.sh
2007-08-29 04:18:25 +00:00

25 lines
467 B
Bash
Executable File

#!/bin/bash
set -x
if [ -d `pwd`/src ]
then
#src exists so we are prolly in the right dir
echo "good we are in qgis checkout dir!"
else
echo "You must run this from the top level qgis checkout dir!"
exit 1
fi
if [ -d `pwd`/debian ]
then
cd debian
svn update
cd ..
else
svn co https://svn.qgis.org/repos/qgis/trunk/debian
fi
export DEBFULLNAME="Tim Sutton"
export DEBEMAIL=tim@linfiniti.com
dch -v 0.9.0+svn`date +%Y%m%d`
fakeroot dpkg-buildpackage