diff options
| -rw-r--r-- | build-aux/update-guix-package.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/update-guix-package.scm b/build-aux/update-guix-package.scm index 383fcd00fc7..2117125f845 100644 --- a/build-aux/update-guix-package.scm +++ b/build-aux/update-guix-package.scm | |||
| @@ -128,13 +128,13 @@ COMMIT. PROC receives the temporary directory file name as an argument." | |||
| 128 | (define %guix-git-repo-push-url-regexp | 128 | (define %guix-git-repo-push-url-regexp |
| 129 | "(git.guix.gnu.org|codeberg.org/guix|git@codeberg.org:guix)/guix(.git)? \\(push\\)") | 129 | "(git.guix.gnu.org|codeberg.org/guix|git@codeberg.org:guix)/guix(.git)? \\(push\\)") |
| 130 | 130 | ||
| 131 | (define-syntax-rule (with-input-pipe-to-string prog arg ...) | 131 | (define (with-input-pipe-to-string prog . args) |
| 132 | (let* ((input-pipe (open-pipe* OPEN_READ prog arg ...)) | 132 | (let* ((input-pipe (apply open-pipe* OPEN_READ prog args)) |
| 133 | (output (get-string-all input-pipe)) | 133 | (output (get-string-all input-pipe)) |
| 134 | (exit-val (status:exit-val (close-pipe input-pipe)))) | 134 | (exit-val (status:exit-val (close-pipe input-pipe)))) |
| 135 | (unless (zero? exit-val) | 135 | (unless (zero? exit-val) |
| 136 | (error (format #f "Command ~s exited with non-zero exit status: ~s" | 136 | (error (format #f "Command ~s exited with non-zero exit status: ~s" |
| 137 | (string-join (list prog arg ...)) exit-val))) | 137 | (string-join (cons prog args)) exit-val))) |
| 138 | (string-trim-both output))) | 138 | (string-trim-both output))) |
| 139 | 139 | ||
| 140 | (define (find-origin-remote) | 140 | (define (find-origin-remote) |
