summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-08-21 12:17:52 +0200
committerAndreas Baumann <abaumann@yahoo.com>2011-08-21 12:17:52 +0200
commitf1fe3b912a6530a5692bbf2b44f7a440cb55e887 (patch)
treeddf24fdf47d15520a5f2f4b0e0ded083d0a5b114
parent7c3943709de0c1c5ff35d6a7b72fd726fc422f1e (diff)
downloadwolfbones-f1fe3b912a6530a5692bbf2b44f7a440cb55e887.tar.gz
wolfbones-f1fe3b912a6530a5692bbf2b44f7a440cb55e887.tar.bz2
Arch with kernel 3 fix
-rwxr-xr-xmakefiles/gmake/guess_env3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefiles/gmake/guess_env b/makefiles/gmake/guess_env
index 0ed5601..136e21b 100755
--- a/makefiles/gmake/guess_env
+++ b/makefiles/gmake/guess_env
@@ -15,6 +15,9 @@ case "$UNAME_SYSTEM.$UNAME_RELEASE" in
if test -f /etc/arch-release; then
LINUX_DIST='arch'
LINUX_REV='current'
+ if test "$OS_MAJOR_VERSION" = "3"; then
+ OS_MINOR_VERSION=`echo $UNAME_RELEASE | cut -d . -f 2 | cut -d - -f 1`
+ fi
elif test -f /etc/debian_version; then
LINUX_DIST='debian'
LINUX_REV=`cat /etc/debian_version | cut -d . -f 1`