1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From 603e131203b5f06141920ee8931121c159dc02e7 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 5 Oct 2021 00:31:10 +0000
Subject: [PATCH] examples/Makefile.am: Patch to hard-code path to bash.
When /bin/sh is a symlink to bash, the value of the BASH variable gets
set to /bin/sh, but /bin/sh may not always point to bash on the
running system.
https://tests.reproducible-builds.org/debian/issues/unstable/bin_sh_is_bash_issue.html
---
examples/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/Makefile.am b/examples/Makefile.am
index c08a110..7ea6bf8 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -6,7 +6,7 @@ pkgdatadir=$(datadir)/xnee/
CLEAN_FILES=simple_bash.sh
simple_bash.sh: simple_bash.sh.in1
- echo "#!" "$(BASH)" > simple_bash.sh
+ echo "#!" "/bin/bash" > simple_bash.sh
echo " " >> simple_bash.sh
echo " " >> simple_bash.sh
echo "if [ -f ${bindir}/bin/cnee ]" >> simple_bash.sh
--
2.33.0
|