aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorIlya Katsnelson <me@0upti.me>2022-06-07 10:23:31 +0300
committerChristian Marangi <ansuelsmth@gmail.com>2022-09-14 00:06:18 +0200
commite8135247c19924a4bd164f422dd589465aaa294d (patch)
tree40f02a5347969910f1e0c946a88c9143b34a9871 /package/libs
parent21dfd7289b72fefd8d97c89a08ad7c3e0fb791af (diff)
downloadupstream-e8135247c19924a4bd164f422dd589465aaa294d.tar.gz
upstream-e8135247c19924a4bd164f422dd589465aaa294d.tar.bz2
upstream-e8135247c19924a4bd164f422dd589465aaa294d.zip
libcap: use more compatible shebang
Patch a script to use a shebang that works on systems that don't have a /bin/bash, e.g. NixOS or GuixSD. Signed-off-by: Ilya Katsnelson <me@0upti.me>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/libcap/patches/900-use-more-compatible-shebang.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libs/libcap/patches/900-use-more-compatible-shebang.patch b/package/libs/libcap/patches/900-use-more-compatible-shebang.patch
new file mode 100644
index 0000000000..454c703fbe
--- /dev/null
+++ b/package/libs/libcap/patches/900-use-more-compatible-shebang.patch
@@ -0,0 +1,8 @@
+--- a/progs/mkcapshdoc.sh
++++ b/progs/mkcapshdoc.sh
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/bin/env bash
+ # This script generates some C code for inclusion in the capsh binary.
+ # The Makefile generally only generates the .c code and compares it
+ # with the checked in code in the progs directory.