bin/ckmake: Drop Ubuntu check
PATCH 1/1 bin/ckmake: Drop Ubuntu check
Don't check for distribution as it is now possible to use ckmake on every distribution.
Signed-off-by Ozan Çağlayan <[email protected]>
--- bin/ckmake | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
bin/ckmake +3 -12
@@ -31,18 +31,9 @@ ARGS="" RET="" -LSB_RED_ID=$(/usr/bin/lsb_release -i -s) -case $LSB_RED_ID in -"Ubuntu") - for i in $(find /lib/modules/ -type d -name \*generic\* | sort -n -r | grep -v -E '\-[[:alnum:]]{1,2}\-'); do - KLIBS="$KLIBS $i" - done - ;; -*) - echo -e "Unsupported distribution" - exit - ;; -esac +for i in $(find /lib/modules/ -type d -name \*generic\* | sort -n -r | grep -v -E '\-[[:alnum:]]{1,2}\-'); do + KLIBS="$KLIBS $i" +done function tee_color_split() {
Signature · 1 line
1.7.10.2
Luis R. Rodriguez
AppliedQuoted 4 lines · Ozan Çağlayan
Don't check for distribution as it is now possible to use ckmake on every distribution.
Signed-off-by Ozan Çağlayan <[email protected]>
Thanks, applied and pushed all! Just next time please add a prefix to the subject so others know what this patch is for, a "[PATCH] compat:
foo" for example works.
Luis