aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/astronomy.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-05-04 13:34:21 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-05-04 15:40:33 +0200
commit7f540e3ce0eecb1dedf18e51ac6b161a13a2c625 (patch)
tree87899366f7031681f90f8993e1c0b4be9d528fbb /gnu/packages/astronomy.scm
parentead465a31243be62de864d32a65d2b8fee54b9e1 (diff)
downloadguix-7f540e3ce0eecb1dedf18e51ac6b161a13a2c625.tar
guix-7f540e3ce0eecb1dedf18e51ac6b161a13a2c625.tar.gz
gnu: indi: Check slightly more functionally.
* gnu/packages/astronomy.scm (indi)[arguments]: Substitute WITH-DIRECTORY-EXCURSION for double CHDIR.
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r--gnu/packages/astronomy.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c55c4d8062..0b54122068 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -818,9 +818,8 @@ provide you with detailed information about each pass.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (chdir "test")
- (invoke "ctest")
- (chdir "..")
+ (with-directory-excursion "test"
+ (invoke "ctest"))
#t))
(add-before 'install 'set-install-directories
(lambda* (#:key outputs #:allow-other-keys)