From 45b02e923e835569c47e4e5b4dd6972ac402a74e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Wed, 6 May 2015 20:13:31 +0200 Subject: [PATCH] tests: Use '.' and not 'source' which is a Bashism. * tests/profiles.scm ("etc/profile"): Use '.' instead of 'source', since the latter is a Bashism and not necessarily supported by a standard shell. --- tests/profiles.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/profiles.scm b/tests/profiles.scm index a397171..93801a0 100644 --- a/tests/profiles.scm +++ b/tests/profiles.scm @@ -237,8 +237,7 @@ (mbegin %store-monad (built-derivations (list drv)) (let* ((pipe (open-input-pipe - (string-append "source " - profile "/etc/profile; " + (string-append ". " profile "/etc/profile; " "unset GUIX_PROFILE; set"))) (env (get-string-all pipe))) (return -- 2.2.1