瀏覽代碼

gnu: curl: Let patch-shebang handle /usr/bin/env.

* gnu/packages/curl.scm (curl): Drop manual rewriting of #!/usr/bin/env.
gn-latest-20200428
Andreas Enge 8 年前
父節點
當前提交
b5c18c78c2
共有 1 個檔案被更改,包括 1 行新增12 行删除
  1. +1
    -12
      gnu/packages/curl.scm

+ 1
- 12
gnu/packages/curl.scm 查看文件

@ -55,18 +55,7 @@
("pkg-config" ,pkg-config)
("zlib" ,zlib)))
(arguments
`(#:configure-flags '("--with-gnutls" "--with-gssapi")
#:phases
(alist-replace
'unpack
(lambda* (#:key #:allow-other-keys #:rest args)
(let ((unpack (assoc-ref %standard-phases 'unpack)))
(apply unpack args)
;; The following patch-shebang phase will replace perl
;; by the correct path.
(substitute* "tests/runtests.pl"
(("#!/usr/bin/env perl") "#!/usr/bin/perl"))))
%standard-phases)))
`(#:configure-flags '("--with-gnutls" "--with-gssapi")))
(synopsis "curl, command line tool for transferring data with URL syntax")
(description
"curl is a command line tool for transferring data with URL syntax,


載入中…
取消
儲存