This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Commit 871b530
Release Manager
Trac #30979: Remove duplication of options handled in src/bin/sage and build/bin/sage-site
(from #30846)
We remove the duplication of lines like
{{{
if [ "$1" = '-optional' -o "$1" = "--optional" ]; then
shift
exec sage-list-packages optional $@
fi
}}}
in `src/bin/sage` and `build/bin/sage-site`.
We keep handling of the option `--installed` in `src/bin/sage` in
anticipation of #30940 (`src/bin/sage-list-packages`: Make it work if
`SAGE_ROOT` is not available).
URL: https://trac.sagemath.org/30979
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): Jonathan Kliem2 files changed
+0
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 131 | | |
142 | 132 | | |
143 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | 982 | | |
1004 | 983 | | |
1005 | 984 | | |
| |||
1014 | 993 | | |
1015 | 994 | | |
1016 | 995 | | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | 996 | | |
1027 | 997 | | |
1028 | 998 | | |
| |||
0 commit comments