From 25157e31db8fce423f00fa9c4132c629a3cffbe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A6titia=20Delvaux?= Date: Tue, 23 Apr 2024 13:27:36 +0200 Subject: [PATCH] Reverting sed/awk call as sometimes .dsc files are not available (multi-arch). --- unibuild-package/unibuild-package/unibuild-deb.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unibuild-package/unibuild-package/unibuild-deb.make b/unibuild-package/unibuild-package/unibuild-deb.make index 2d79920..4c11232 100644 --- a/unibuild-package/unibuild-package/unibuild-deb.make +++ b/unibuild-package/unibuild-package/unibuild-deb.make @@ -288,7 +288,8 @@ endif -name "*.deb" -o -name "*.dsc" -o -name "*.changes" -o -name "*.buildinfo" -o -name "*.build" -o -name "*.tar.*" -o -name "*.diff.gz" \ \) -exec cp {} "$(PRODUCTS_DEST)" \; mkdir -p "$(REPO_UNIBUILD)" - awk '$$1 == "Source:" { print $$2; exit }' *.dsc + sed -e ':a;/\\\s*$$/{N;s/\\\s*\n//;ba}' "$(CONTROL)" \ + | awk '$$1 == "Source:" { print $$2; exit }' \ >> "$(DEBIAN_PACKAGE_ORDER)"