From 9434b4a36646c036db8de326158056aa3293fb82 Mon Sep 17 00:00:00 2001 From: Philip McGrath Date: Thu, 28 Apr 2022 22:56:20 -0400 Subject: [PATCH] fix read-only gifs and math directories An installed copy of stex might have all write permission bits removed, even for the owner of the installed files: this is the case with Guix package of stex, for example. If such an installation is used to initialize the gifs or math directories (e.g. for an out-of-source build), tar likewise creates them without write permissions, preventing subdirectories from being created later. Set the user write bit explicitly to avoid this problem. Mf-stex Related to https://github.com/racket/racket/pull/4203 --- Submitted upstream in https://github.com/dybvig/stex/pull/6 Mf-stex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mf-stex b/Mf-stex index 09ec6f3..11fb214 100644 --- a/Mf-stex +++ b/Mf-stex @@ -112,9 +112,11 @@ $(x).mathrun: gifs $(mathfiles) gifs: (cd $(STEXLIB); tar -cf - gifs) | tar -xpf - + chmod u+w gifs math: (cd $(STEXLIB); tar -cf - math) | tar -xpf - + chmod u+w math $(mathfiles): $(x).hthirdrun $(figps) echo -n gifs= > $(mathfiles) -- 2.32.0 an.scm?id=d222c7527d132bd034dddb69ea8dd38788bf72c8'>treecommitdiff
path: root/tests/cran.scm
AgeCommit message (Expand)Author
2020-01-16import: cran: Avoid uses of '@@' in the tests....* guix/import/cran.scm (description->alist, description->package): Export. <top level>: Set! 'listify'. * tests/cran.scm (description-alist, "description->package"): Remove use of '@@' to access the relevant bindings. Ludovic Courtès
2017-05-13import: cran: Robustify cran-package?....* guix/import/cran.scm (package->upstream-name): Return #f if url start and end index could not be determined. (cran-package?): Check if the upstream-name can be extracted from given package. * tests/cran.scm: Add "r-minimal is not a cran package" to make sure that r-minimal is not detected as a cran package. This fixes a failure of guix refresh on r-minimal because no upsteam-name can be determined from ".../R-version.tar.gz" uri. Mathieu Othacehe
2017-03-08tests: Avoid zero-expression 'begin' form....* tests/cran.scm ("description->package"): Add body after the expected pattern in 'match'. Ludovic Courtès
2016-11-10tests: Adjust 'url-fetch' mocks to TLS changes....This is a followup to bc3c41ce36349ed4ec758c70b48a7059e363043a. * tests/cpan.scm ("cpan->guix-package"): Add #:verify-certificate? parameter in 'url-fetch' mock. * tests/cran.scm ("description->package"): Likewise. Ludovic Courtès