nixpkgs/pkgs/applications/networking/firehol/firehol-uname-command.patch
2021-01-01 10:41:04 -08:00

12 lines
203 B
Diff

--- a/sbin/firehol
+++ b/sbin/firehol
@@ -10295,7 +10295,7 @@
kmaj=$1
kmin=$2
- set -- $($UNAME_CMD -r)
+ set -- $("$UNAME_CMD" -r)
eval $kmaj=\$1 $kmin=\$2
}
kernel_maj_min KERNELMAJ KERNELMIN