mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
e8135247c1
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>
9 lines
295 B
Diff
9 lines
295 B
Diff
--- 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.
|