aboutsummaryrefslogtreecommitdiffstats
path: root/dists/debian/build-package
diff options
context:
space:
mode:
Diffstat (limited to 'dists/debian/build-package')
-rwxr-xr-xdists/debian/build-package9
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