From f7883485cc8ec4c61f07c1f26068d3beade187d2 Mon Sep 17 00:00:00 2001 From: Ilyas Gasanov Date: Sat, 13 Apr 2019 23:59:35 +0300 Subject: Fix incorrect assumption on output directory name. While executing the extract command, dpkg-source by default extracts the source package to an output directory named as source-version. If the source package format is 3.0 (quilt), the version string is taken from the orig tarball, not the dsc file. Baiji attempts to use the dsc version string, and fails if no correspondingly named output directory is found after the extraction. --- baiji | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baiji b/baiji index f39d051..29fc77c 100755 --- a/baiji +++ b/baiji @@ -240,7 +240,7 @@ def build(args): #!/bin/bash - set -eo pipefail arch=`dpkg-architecture -qDEB_BUILD_ARCH` - dpkg-source -x /source/{source}_{version}.dsc + dpkg-source -x /source/{source}_{version}.dsc {source}-{version} cd {source}-{version} dpkg-buildpackage -b -uc -us 2>&1 | tee ../{source}_{version}_$arch.build cd .. -- cgit v1.2.3