Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 232e966

Browse files
committed
More problems caused by misorganized GIAC docs. Now we just delete them
from the installation.
1 parent 35c5649 commit 232e966

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/sage-prep-runtime

+6-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ find . -type f \( -name '*.exe' -o -name '*.dll' \) \
6363

6464
# Move stupid, misnamed giac docs: the directory name ends with a space when it
6565
# shouldn't, and InnoSetup has trouble with this
66-
BROKEN_GIAC_DOC_DIR='local/share/doc/giac/fr '
66+
# Update: As of Sage 9.3, the version of the giac docs is now even more broken,
67+
# containing both an 'fr' directory *and* an 'fr ' directory. Rather than try
68+
# to move it, just delete these docs entirely, as I doubt anyone is going to go
69+
# looking for them in their Sage Windows install.
70+
BROKEN_GIAC_DOC_DIR='local/share/doc/giac'
6771
if [ -d "$BROKEN_GIAC_DOC_DIR" ]; then
68-
mv "$BROKEN_GIAC_DOC_DIR" local/share/doc/giac/fr
72+
rm -rf "$BROKEN_GIAC_DOC_DIR"
6973
fi

0 commit comments

Comments
 (0)