diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-02-14 02:23:30 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2023-02-14 04:26:07 +0100 |
commit | e5db7ee1f7f0d2297e72c611800cf24b9d31e266 (patch) | |
tree | ab065218c86d32843facf183294662e1a7a52e8c | |
parent | 524a2b642ae3c8b4006ba97fc20ad5f1c398ccf7 (diff) | |
download | hardware_replicant_libsamsung-ipc-e5db7ee1f7f0d2297e72c611800cf24b9d31e266.tar.gz hardware_replicant_libsamsung-ipc-e5db7ee1f7f0d2297e72c611800cf24b9d31e266.tar.bz2 hardware_replicant_libsamsung-ipc-e5db7ee1f7f0d2297e72c611800cf24b9d31e266.zip |
scripts: guix.scm: sync parse-android.mk definition with guix style
The guix style command reformats a package or a file to use the code
style used by Guix.
This commits sync the parse-android.mk definition with the output
produced by guix style.
This commit should contain no functional changes.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | scripts/guix.scm | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/scripts/guix.scm b/scripts/guix.scm index d577b89..3395bbc 100644 --- a/scripts/guix.scm +++ b/scripts/guix.scm @@ -84,20 +84,17 @@ (define (parse-android.mk port modules-list) (let* ((line (read-line port))) (if (not (eof-object? line)) - (let* ((line-parts (string-split line #\ ))) + (let* ((line-parts (string-split line #\space))) (if (string=? (car line-parts) "LOCAL_MODULE") (if (not (string=? (list-ref line-parts 2) "libsamsung-ipc")) (if (string=? modules-list "") - (parse-android.mk - port - (list-ref line-parts 2)) - (parse-android.mk - port - (string-append modules-list - " " (list-ref line-parts 2)))) + (parse-android.mk port + (list-ref line-parts 2)) + (parse-android.mk port + (string-append modules-list " " + (list-ref line-parts 2)))) (parse-android.mk port modules-list)) - (parse-android.mk port modules-list))) - modules-list))) + (parse-android.mk port modules-list))) modules-list))) (define android-local-modules-list (let* ((port (open-input-file "./Android.mk")) |