Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 1de912a

Browse files
author
Matthias Koeppe
committed
tox.ini (local-sudo): Run apt-get update with sudo
1 parent a85f41c commit 1de912a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ commands =
407407
# local-root: Assume we are root, run the system package commands
408408
# local-sudo: Use sudo to run the system package commands as root
409409
#
410-
local-{root,sudo}: bash -c '$(build/bin/sage-print-system-package-command {env:SYSTEM} update) #'
410+
local-{root,sudo}: bash -c '$(build/bin/sage-print-system-package-command {env:SYSTEM} {env:__SUDO:} update) #'
411411
local-{root,sudo}: bash -c 'PACKAGES=$(build/bin/sage-get-system-packages {env:SYSTEM} $(PATH=build/bin:$PATH build/bin/sage-package list {env:SAGE_PACKAGE_LIST_ARGS}) _bootstrap); $(build/bin/sage-print-system-package-command {env:SYSTEM} {env:__SUDO:} --yes --no-install-recommends install $PACKAGES) || [ "$IGNORE_MISSING_SYSTEM_PACKAGES" = yes ] && echo "(ignoring errors)" '
412412
#
413413
# All "local" environments

0 commit comments

Comments
 (0)