diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-06 21:48:07 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-09-06 22:06:00 +0200 |
commit | 077bc548a718eb1ee6d9453c0f0c5b3736d0e7ad (patch) | |
tree | 5134bef8ba19a9a32fc1f0462638411d906f0cf5 | |
parent | 48eafb2746863cad785476bf1bf78eb286a7bd8b (diff) | |
download | buildscripts-077bc548a718eb1ee6d9453c0f0c5b3736d0e7ad.tar.gz buildscripts-077bc548a718eb1ee6d9453c0f0c5b3736d0e7ad.tar.bz2 buildscripts-077bc548a718eb1ee6d9453c0f0c5b3736d0e7ad.zip |
sbuild-deb-package: allow difference in Git project name and Debian src:pkg name
-rwxr-xr-x | bin/sbuild-deb-package | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package index 7c3cbab..7dcc1a5 100755 --- a/bin/sbuild-deb-package +++ b/bin/sbuild-deb-package @@ -290,8 +290,9 @@ build_packages() { # build the source package dpkg-buildpackage -uc -us -S -d + DEBSRCPKG="$(dpkg-parsechangelog -S Source)" cd .. - DSCFILE="$(pwd)/$(ls -1 "${PROJECT}_"*.dsc | head -n1)" + DSCFILE="$(pwd)/$(ls -1 "${DEBSRCPKG}_"*.dsc | head -n1)" SBUILD_OPTIONS="-n -j2 -sAd ${codename} -k ${GPG_KEY} --build-dep-resolver=aptitude" SBUILD_OPTIONS_64="${SBUILD_OPTIONS} -c arctica-${l_CODENAME}" |