Skip to content

Commit

Permalink
preserve sudo env
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Aug 20, 2024
1 parent 863bc58 commit 50a6197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/ci/lib/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function sanity_check_environment()
function add_bundler_path_to_gem_path()
{
local bundle_path
which -a bundle

if bundle_path=$(bundle show rake); then
bundle_path=$(dirname "$bundle_path")
bundle_path=$(dirname "$bundle_path")
Expand Down
2 changes: 1 addition & 1 deletion dev/ci/tests/apache2/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ run ./bin/passenger-install-apache2-module --auto
if command -v rvmsudo; then
run rvmsudo ./bin/passenger-install-apache2-module --auto --no-compile
else
run sudo ./bin/passenger-install-apache2-module --auto --no-compile
run sudo -E -- ./bin/passenger-install-apache2-module --auto --no-compile
fi
run bundle exec rake "-j$COMPILE_CONCURRENCY" test:integration:apache2

0 comments on commit 50a6197

Please sign in to comment.