summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-20 16:13:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-20 16:13:13 +0200
commit36f23af72fdfc38c06e7b9cf6ba9bf5b74516309 (patch)
tree9e5da644469bd71243e4c7662c85a458972073a6
parent7f61dec9982a8d740d5b2b197cdf9749411a0a80 (diff)
downloadbuildscripts-36f23af72fdfc38c06e7b9cf6ba9bf5b74516309.tar.gz
buildscripts-36f23af72fdfc38c06e7b9cf6ba9bf5b74516309.tar.bz2
buildscripts-36f23af72fdfc38c06e7b9cf6ba9bf5b74516309.zip
sbuild-deb-package: Fix hard-code arctica- prefix, use ${PREFIX} instead.
-rwxr-xr-xbin/sbuild-deb-package4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index 4d81bd6..e234423 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -301,8 +301,8 @@ build_packages() {
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}"
- SBUILD_OPTIONS_32="${SBUILD_OPTIONS} -c arctica-${l_CODENAME}-i386 --arch=i386 --debbuildopts=-B"
+ SBUILD_OPTIONS_64="${SBUILD_OPTIONS} -c ${PREFIX}-${l_CODENAME}"
+ SBUILD_OPTIONS_32="${SBUILD_OPTIONS} -c ${PREFIX}-${l_CODENAME}-i386 --arch=i386 --debbuildopts=-B"
if [ -n "${SA_OPTION}" ]; then
SBUILD_OPTIONS_64=${SBUILD_OPTIONS}" ${SA_OPTION}"
fi