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

Commit 3c7e5c4

Browse files
author
Matthias Koeppe
committed
tox.ini (local-root, local-sudo): Run output of sage-print-system-package-command through eval
1 parent 1de912a commit 3c7e5c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -407,8 +407,8 @@ 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} {env:__SUDO:} update) #'
411-
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)" '
410+
local-{root,sudo}: bash -c 'eval $(build/bin/sage-print-system-package-command {env:SYSTEM} {env:__SUDO:} update) #'
411+
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); eval $(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
414414
#

0 commit comments

Comments
 (0)