Skip to content

Commit

Permalink
rm set -x
Browse files Browse the repository at this point in the history
  • Loading branch information
fheinecke committed Dec 19, 2024
1 parent b3c5918 commit 462ee19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/env-loader/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,13 @@ runs:
# Install the tool
maybe_sudo() {
set -x
# Run as root via sudo if possible. This cannot be handled via an alias
# because Bash on Windows seems to silently discard `alias sudo=""`.
if command -v sudo > /dev/null; then
sudo "$@"
else
"$@"
fi
set +x
}
echo "Installing to ${INSTALL_DIR}..."
Expand Down

0 comments on commit 462ee19

Please sign in to comment.