[patch] deblob-5.15
alicef_gentoo
alicef at gentoo.org
Mon Jul 25 16:51:36 UTC 2022
Hello,
I'm trying to force deblob-<kernel-version> to use
--use-awk setting on deblob-check, attached there is a simple patch for
doing it.
This patch let's choose which --use-* argument to pass to deblob-check
from deblob-<kernel-version>.
Gentoo need a patch like this for forcing to use awk with deblob-check.
Is this ok to get it merged in the deblob-<kernel-version> scripts ?
or maybe there is a better way of doing this that I'm missing?
Signed-off-by: Alice Ferrazzi <alicef at gentoo.org>
"""
--- a/deblob-5.15 2022-07-25 03:43:01.299949682 +0900
+++ b/deblob-5.15 2022-07-25 11:24:33.129003693 +0900
@@ -82,6 +82,27 @@ if [ ! -f $check ] ; then
else
have_check=:
[ -x $check ] || check="/bin/sh $check"
+ case $1 in
+ --use-python)
+ shift;
+ check="$check --use-python"
+ ;;
+
+ --use-perl)
+ shift;
+ check="$check --use-perl"
+ ;;
+
+ --use-awk)
+ shift;
+ check="$check --use-awk"
+ ;;
+
+ --use-sed)
+ shift;
+ check="$check --use-sed"
+ ;;
+ esac
fi
filetest () {
"""
Thanks,
Alicef
-------------- next part --------------
--- a/deblob-5.15 2022-07-25 03:43:01.299949682 +0900
+++ b/deblob-5.15 2022-07-25 11:24:33.129003693 +0900
@@ -82,6 +82,27 @@ if [ ! -f $check ] ; then
else
have_check=:
[ -x $check ] || check="/bin/sh $check"
+ case $1 in
+ --use-python)
+ shift;
+ check="$check --use-python"
+ ;;
+
+ --use-perl)
+ shift;
+ check="$check --use-perl"
+ ;;
+
+ --use-awk)
+ shift;
+ check="$check --use-awk"
+ ;;
+
+ --use-sed)
+ shift;
+ check="$check --use-sed"
+ ;;
+ esac
fi
filetest () {
More information about the linux-libre
mailing list