From 1162f4a890c78d8e59436165c0089106292929ef Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 4 May 2023 18:35:27 -0400 Subject: [PATCH] Force bash usage The default shell on i386 stretch has some sort of problem with wildcard expansion. Force usage of bash. Change-Id: I923375128b7861ec5f7a2c2d77a50850f888035e --- pkg/deb/backports/stretch | 1 + utils/build_test_wrapper | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/deb/backports/stretch b/pkg/deb/backports/stretch index 4ecde64b1..4166dccbc 100755 --- a/pkg/deb/backports/stretch +++ b/pkg/deb/backports/stretch @@ -33,6 +33,7 @@ sname:=rtpengine\ # Source version\ sversion:=$(DEB_VERSION_UPSTREAM)\ ## end of kernel package specific stuff\ +export SHELL=/bin/bash\ ;' "${DIST}"/rules sed -i 's;^execute_before_dh_auto_install-indep:;execute_before_dh_auto_install-indep:\ \t# Create the directories to install the source into\ diff --git a/utils/build_test_wrapper b/utils/build_test_wrapper index 6bbaace72..56dc338db 100755 --- a/utils/build_test_wrapper +++ b/utils/build_test_wrapper @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash TARGET=$1 ROOT=$(echo "$TARGET" | sed 's/\.h$//') if test "x$MAKE" = x; then