diff options
| author | ismailarilik <arilik.ismail@gmail.com> | 2024-11-06 16:40:02 +0300 |
|---|---|---|
| committer | ismailarilik <arilik.ismail@gmail.com> | 2024-11-06 16:40:02 +0300 |
| commit | e0b98c739a0728d34c74b60cb84c14efa56d9cd2 (patch) | |
| tree | 8d908fca633edff60aae5ffa2a7ca59da4d40f82 /x | |
| parent | 279604832887abeaea0cb31c20590c43dea497ae (diff) | |
| download | rust-e0b98c739a0728d34c74b60cb84c14efa56d9cd2.tar.gz rust-e0b98c739a0728d34c74b60cb84c14efa56d9cd2.zip | |
fix(x): fix a regex used to find python executable
Diffstat (limited to 'x')
| -rwxr-xr-x | x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x b/x index 426b58d0d4e..e656d37c1e4 100755 --- a/x +++ b/x @@ -36,7 +36,7 @@ for SEARCH_PYTHON in py python3 python python2; do fi done -python=$(bash -c "compgen -c python" | grep '^python[2-3]\.[0-9]\+$' | head -n1) +python=$(bash -c "compgen -c python" | grep '^python[2-3]\.[0-9]+$' | head -n1) if ! [ "$python" = "" ]; then exec "$python" "$xpy" "$@" fi |
