From: Ozan Çağlayan Date: Mon, 11 Jun 2012 21:46:19 +0000 (+0300) Subject: compat: bin/ckmake: Drop Ubuntu check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c37c46c4ab5085ba50f650d15854404983b8d09b;p=openwrt%2Fstaging%2Fblogic.git compat: 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 Signed-off-by: Luis R. Rodriguez --- diff --git a/bin/ckmake b/bin/ckmake index 2d422af9bf1e..9956cf1c62ad 100755 --- a/bin/ckmake +++ b/bin/ckmake @@ -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() {