Changing behavior
This commit is contained in:
parent
ff0b16c78a
commit
b3810ec697
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ for dir in "${path_dirs[@]}"; do
|
|||
|
||||
potential_path="$dir/$1"
|
||||
if [ -x "$potential_path" ]; then
|
||||
echo "$potential_path"
|
||||
"$dir/$@"
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue