Skip to content

Commit

Permalink
the command utility may not be found so we will use 'which'
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzebsiddiqui committed Jul 1, 2024
1 parent 24a803b commit 939a2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.csh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ curl https://bootstrap.pypa.io/get-pip.py | $python

set pip=pip3

if ( ! -x `command -v $pip` ) then
if ( ! -x `which $pip` ) then
# If not found in PATH, check $HOME/.local/bin
if ( -x "$HOME/.local/bin/$pip" ) then
echo "$pip found in $HOME/.local/bin"
Expand Down

0 comments on commit 939a2e4

Please sign in to comment.