Author: aurel32
Date: 2012-10-16 13:01:26 +0000 (Tue, 16 Oct 2012)
New Revision: 5321

Modified:
   glibc-package/trunk/debian/sysdeps/linux.mk
Log:
Fix previous commit


Modified: glibc-package/trunk/debian/sysdeps/linux.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/linux.mk 2012-10-16 12:54:45 UTC (rev 
5320)
+++ glibc-package/trunk/debian/sysdeps/linux.mk 2012-10-16 13:01:26 UTC (rev 
5321)
@@ -45,8 +45,8 @@
 # into an integer so it can be easily compared and then does so.
 CURRENT_KERNEL_VERSION=$(shell uname -r)
 define kernel_check
-(minimum=$$((`echo $(1) | sed 's/^\([0-9]*\.[0-9]*\)\([^.0-9]\|$\)/\1.0\2/; 
s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`)); \
-current=$$((`echo $(CURRENT_KERNEL_VERSION) | sed 
's/^\([0-9]*\.[0-9]*\)\([^.0-9]\|$\)/\1.0\2/; 
s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`)); \
+(minimum=$$((`echo $(1) | sed 's/^\([0-9]*\.[0-9]*\)\([^.0-9]\|$$\)/\1.0\2/; 
s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`)); \
+current=$$((`echo $(CURRENT_KERNEL_VERSION) | sed 
's/^\([0-9]*\.[0-9]*\)\([^.0-9]\|$$\)/\1.0\2/; 
s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`)); \
 if [ $$current -lt $$minimum ]; then \
   false; \
 fi)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to