diff options
author | Ilya Katsnelson <me@0upti.me> | 2022-06-07 10:23:31 +0300 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-09-14 00:06:18 +0200 |
commit | e8135247c19924a4bd164f422dd589465aaa294d (patch) | |
tree | 40f02a5347969910f1e0c946a88c9143b34a9871 /package | |
parent | 21dfd7289b72fefd8d97c89a08ad7c3e0fb791af (diff) | |
download | upstream-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')
-rw-r--r-- | package/libs/libcap/patches/900-use-more-compatible-shebang.patch | 8 |
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. |