From 91bc3faf0c6582332a783352eb052908f4614495 Mon Sep 17 00:00:00 2001 From: Volker Uhrig Date: Fri, 22 Aug 2008 12:26:00 +0000 Subject: * changed way to find kernel behaviour git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2080 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/xserver/files/ati-install-dev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os-plugins/plugins/xserver') diff --git a/os-plugins/plugins/xserver/files/ati-install-dev.sh b/os-plugins/plugins/xserver/files/ati-install-dev.sh index 561fa71a..9fe904a1 100755 --- a/os-plugins/plugins/xserver/files/ati-install-dev.sh +++ b/os-plugins/plugins/xserver/files/ati-install-dev.sh @@ -35,7 +35,7 @@ cd ati # packages and distribution stuff cd temp/common/lib/modules/fglrx/build_mod # faking environment -uname_r=$(find /lib/modules/2.6* -maxdepth 0|grep -v -e "^/lib/modules/$$"|sed 's,/lib/modules/,,g'|sort|tail -n1) +uname_r=$(find /lib/modules/2.6* -maxdepth 0|sed 's,/lib/modules/,,g'|sort|tail -n1) sed -i "s,^uname_r.*$,uname_r=${uname_r}," make.sh sed -i "s,kernel_release=.*,kernel_release=${uname_r}," make.sh #uname -m: just x86_64 and ia64 will get checked. till we support 64bit -- cgit v1.2.3-55-g7522