commit 5f9edcc206a8566fe770f06fab5743694cb2f432
parent 21651398dae0a1b4cc5b5ebcd2f3d697c6082f9f
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 22 Feb 2024 16:21:06 +0100
Fix shebang in stubs
Diffstat:
4 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/packages/curl b/packages/curl
@@ -63,7 +63,13 @@ check_static() {
# Do not generate manpages (requires Perl)
-busybox which true >curl-8.6.0/scripts/cd2nroff
+(
+ cd curl-8.6.0
+ t=$(busybox which true)
+ for f in scripts/cd2nroff docs/cmdline-opts/*.pl; do
+ printf '#!%s\n' "$t" >$f
+ done
+) || exit $?
autotools_static curl-8.6.0 \
--with-zlib \
diff --git a/packages/default.environment b/packages/default.environment
@@ -24,7 +24,7 @@
#+fileset.f6f04ce01f2f3903f917b62be00ae696e8692478b44f946528379ebbb426eea0
#+logincaps.8e9f7e96eef8efbff3010abce4a360be2ab9c8675e2f90aaf4375bebf32e16f3
#+snaprep.9fc58ee4729913adada7f715d37f7af5b6ef324f46e73b27ea939323b83c5a46
-#+curl.84b6269103830b71b3124acb8aadde7866b1c092da72ad76050c82674bffe8d9
+#+curl.bb849f361596ea882f9ef53978a45f15a26057edc711d1991b9ecfc7bec93f1a
#+linux.c21eb54792cc5b7c4df9de554a3c4b1bd6f15cf18764d359b9dafaa017d6d863
#+core-system-conf.ee44833f65709792d6a577809e1b59b2d21c647b8a9c34ca560c351bea6ddc85
#+core-system-rc.d1343a44b2baa7d2732a7de0df109009c04d81dbe6d22964887f5af83598179c
diff --git a/packages/userspace.environment b/packages/userspace.environment
@@ -24,4 +24,4 @@
#+fileset.f6f04ce01f2f3903f917b62be00ae696e8692478b44f946528379ebbb426eea0
#+logincaps.8e9f7e96eef8efbff3010abce4a360be2ab9c8675e2f90aaf4375bebf32e16f3
#+snaprep.9fc58ee4729913adada7f715d37f7af5b6ef324f46e73b27ea939323b83c5a46
-#+curl.84b6269103830b71b3124acb8aadde7866b1c092da72ad76050c82674bffe8d9-
\ No newline at end of file
+#+curl.bb849f361596ea882f9ef53978a45f15a26057edc711d1991b9ecfc7bec93f1a+
\ No newline at end of file
diff --git a/templates/pkg/curl b/templates/pkg/curl
@@ -6,7 +6,13 @@
{% block at_script %}
# Do not generate manpages (requires Perl)
-busybox which true >curl-8.6.0/scripts/cd2nroff
+(
+ cd curl-8.6.0
+ t=$(busybox which true)
+ for f in scripts/cd2nroff docs/cmdline-opts/*.pl; do
+ printf '#!%s\n' "$t" >$f
+ done
+) || exit $?
autotools_static curl-8.6.0 \
--with-zlib \