Permalink
Browse files

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 <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
  • Loading branch information...
ozancaglayan authored and mcgrof committed Jun 11, 2012
1 parent fdbea5a commit c37c46c4ab5085ba50f650d15854404983b8d09b
Showing with 3 additions and 12 deletions.
  1. +3 −12 bin/ckmake
View
@@ -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()
{

0 comments on commit c37c46c

Please sign in to comment.