Skip to content

Commit

Permalink
Testing: Replace which with command -v rucio#6303
Browse files Browse the repository at this point in the history
The `which` utility is an external utility that has to be installed as
an RPM package. We could include it during the container creation or we
could use the equivalent `command -v` builtin from the Bash shell.
  • Loading branch information
dchristidis committed Aug 7, 2023
1 parent 7ccac3d commit f494614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test/install_script.sh
Expand Up @@ -16,7 +16,7 @@

set -eo pipefail

echo "* Using $(which python) $(python --version 2>&1) and $(which pip) $(pip --version 2>&1)"
echo "* Using $(command -v python) $(python --version 2>&1) and $(command -v pip) $(pip --version 2>&1)"

if [ "$SUITE" == "client" -o "$SUITE" == "client_syntax" ]; then
cd /usr/local/src/rucio
Expand Down

0 comments on commit f494614

Please sign in to comment.