Skip to content

Commit 93bc689

Browse files
committed
hack: fix typo on variable's value. add the missing $
Signed-off-by: vinícius <651124+egypcio@users.noreply.github.com>
1 parent 5678652 commit 93bc689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

images/capi/hack/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ ensure_py3() {
123123

124124
pip3_install() {
125125
ensure_py3
126-
[ "py3_local_user_bin" ] && py3_pip_cmd="$HOME/.local/bin/pip3"
126+
( "$py3_local_user_bin" ) && py3_pip_cmd="$HOME/.local/bin/pip3"
127127
if output=$($py3_pip_cmd install --disable-pip-version-check --user "${@}" 2>&1); then
128128
echo "$output"
129129
elif [[ $output == *"error: externally-managed-environment"* ]]; then

0 commit comments

Comments
 (0)