فهرست منبع

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.
Ilyas Gasanov 6 سال پیش
والد
کامیت
f7883485cc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      baiji

+ 1 - 1
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 ..