[PATCH] reports.mk: provide bashism with bash

Michael Shigorin mike at altlinux.org
Wed Apr 28 16:29:46 MSK 2021


Wrote that it's a bashism myself and neglected
to specify the proper shell, sigh.

This SHELL manipulation could ruin tracing
piggybacked onto it within lib/report.mk
but it's too late at this stage anyways.
---
 reports.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/reports.mk b/reports.mk
index 247c722b5..f6020ce3c 100644
--- a/reports.mk
+++ b/reports.mk
@@ -77,6 +77,7 @@ reports/contents: reports/prep
 		fi; \
 	esac
 
+reports/packages: SHELL = /bin/bash
 reports/packages: reports/prep
 	@grep -E 'chroot/.in/[^/]*.rpm' < $(BUILDLOG) | \
 		cut -d' ' -f 1 | tr -d "'"'`' | \
-- 
2.25.4


--sdtB3X0nJg68CQEu--


More information about the devel-distro mailing list