Skip to content
Merged
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
4 changes: 2 additions & 2 deletions src/argparse.bash
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# MIT License - Copyright (c) 2015 Noah Hoffman

# Get python executable
if which python; then
if which python > /dev/null; then
PYTHON=$(which python)
elif which python3; then
elif which python3 > /dev/null; then
PYTHON=$(which python3)
else
echo "No python 3 executable found"
Expand Down