[OpenWrt-Devel] [PATCH 2/2] scripts/strip-kmod.sh: Use sh instead of bash
Rosen Penev
rosenp at gmail.com
Mon Dec 30 21:18:04 EST 2019
There's nothing bash specific here.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
scripts/strip-kmod.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/strip-kmod.sh b/scripts/strip-kmod.sh
index 7886cd907f..28be35ea7c 100755
--- a/scripts/strip-kmod.sh
+++ b/scripts/strip-kmod.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
[ -n "$CROSS" ] || {
echo "The variable CROSS must be set to point to the cross-compiler prefix"
exit 1
--
2.24.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list