guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: build: go-build-system: Re-ident.


From: guix-commits
Subject: 01/03: build: go-build-system: Re-ident.
Date: Sun, 5 May 2019 20:09:50 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit b5f05283548d1329672d23bf0cd9a9d31b9b364c
Author: Maxim Cournoyer <address@hidden>
Date:   Thu Apr 4 23:24:57 2019 -0400

    build: go-build-system: Re-ident.
    
    * guix/build/go-build-system.scm (unpack): Fix indentation.
---
 guix/build/go-build-system.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/guix/build/go-build-system.scm b/guix/build/go-build-system.scm
index 282df19..973ee6e 100644
--- a/guix/build/go-build-system.scm
+++ b/guix/build/go-build-system.scm
@@ -161,12 +161,12 @@ unpacking."
   (let ((dest (string-append (getenv "GOPATH") "/src/" unpack-path)))
     (mkdir-p dest)
     (if (file-is-directory? source)
-      (begin
-        (copy-recursively source dest #:keep-mtime? #t)
-        #t)
-      (if (string-suffix? ".zip" source)
-        (invoke "unzip" "-d" dest source)
-        (invoke "tar" "-C" dest "-xvf" source)))))
+        (begin
+          (copy-recursively source dest #:keep-mtime? #t)
+          #t)
+        (if (string-suffix? ".zip" source)
+            (invoke "unzip" "-d" dest source)
+            (invoke "tar" "-C" dest "-xvf" source)))))
 
 (define (go-package? name)
   (string-prefix? "go-" name))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]