Skip to content

Commit e0b98c7

Browse files
committed
fix(x): fix a regex used to find python executable
1 parent 2796048 commit e0b98c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ for SEARCH_PYTHON in py python3 python python2; do
3636
fi
3737
done
3838

39-
python=$(bash -c "compgen -c python" | grep '^python[2-3]\.[0-9]\+$' | head -n1)
39+
python=$(bash -c "compgen -c python" | grep '^python[2-3]\.[0-9]+$' | head -n1)
4040
if ! [ "$python" = "" ]; then
4141
exec "$python" "$xpy" "$@"
4242
fi

0 commit comments

Comments
 (0)