Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkg_comp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ setup_bootstrap() {
local dash_echo_test="$("${bootstrap_sh}" -c 'echo "\\100"')"
if [ "$(uname -s)" != GNUkFreeBSD -a "${dash_echo_test}" = @ ]; then
local bash
bash="$(which bash)"
# Avoid finding pkgsrc-installed bash, as it won't be in the sandbox
bash="$(PATH="$(echo ${PATH} | tr ':' '\n' | grep -v '^@PREFIX@/' | tr '\n' ':')" which bash)"
if [ ${?} -eq 0 ]; then
bootstrap_sh="${bash}"
else
Expand Down