diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2017-08-29 09:31:08 +0200 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2017-08-29 09:31:08 +0200 |
commit | 160598ab2e921907d64795d8c28b6260398e1e43 (patch) | |
tree | a6551d57779a57948b7e301d96d3700c1a2b53fe /dists/debian/build-package | |
parent | 5887f76c524ad4878e12b52b7e09d58c503cea50 (diff) |
Clean up Debian packaging rules a bit.
Diffstat (limited to 'dists/debian/build-package')
-rwxr-xr-x | dists/debian/build-package | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dists/debian/build-package b/dists/debian/build-package index 2d928de..8056187 100755 --- a/dists/debian/build-package +++ b/dists/debian/build-package @@ -1,4 +1,9 @@ #!/bin/bash + +if [ ! -e debian ] ; then + ln -s dists/debian . +fi + BASEVERSION=$(dpkg-parsechangelog --show-field Version | cut -d- -f1) DEBVERSION=$(dpkg-parsechangelog --show-field Version) @@ -13,3 +18,7 @@ debuild -S -sa #pdebuild cd .. dput ppa:ptrkrysik/gr-gsm gr-gsm_${DEBVERSION}_source.changes + +if [ -h debian ] ; then + rm debian +fi |