QGIS/scripts/build_debian_package.sh
lbartoletti 124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00

41 lines
1.4 KiB
Bash
Executable File

#!/usr/bin/env bash
###########################################################################
# build_debian_package.sh
# ---------------------
# Date : July 2007
# Copyright : (C) 2007 by Tim Sutton
# Email : tim at kartoza dot com
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
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.1+svn`date +%Y%m%d`
dch -v 0.9.2rc1
fakeroot dpkg-buildpackage -kAA4D3BA997626237