linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bin/ckmake: Drop Ubuntu check
@ 2012-06-11 21:46 Ozan Çağlayan
  2012-06-11 23:16 ` Luis R. Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Ozan Çağlayan @ 2012-06-11 21:46 UTC (permalink / raw)
  To: mcgrof; +Cc: linux-wireless, 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 <ozancag@gmail.com>
---
 bin/ckmake |   15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/bin/ckmake b/bin/ckmake
index 2d422af..9956cf1 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()
 {
-- 
1.7.10.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bin/ckmake: Drop Ubuntu check
  2012-06-11 21:46 [PATCH] bin/ckmake: Drop Ubuntu check Ozan Çağlayan
@ 2012-06-11 23:16 ` Luis R. Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2012-06-11 23:16 UTC (permalink / raw)
  To: Ozan Çağlayan; +Cc: mcgrof, linux-wireless

On Mon, Jun 11, 2012 at 2:46 PM, Ozan Çağlayan <ozancag@gmail.com> wrote:
> 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>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-11 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11 21:46 [PATCH] bin/ckmake: Drop Ubuntu check Ozan Çağlayan
2012-06-11 23:16 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).