summaryrefslogtreecommitdiffstats
path: root/src/libthread/thread.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libthread/thread.sh')
-rw-r--r--src/libthread/thread.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libthread/thread.sh b/src/libthread/thread.sh
index e3984b79..818b509f 100644
--- a/src/libthread/thread.sh
+++ b/src/libthread/thread.sh
@@ -2,13 +2,13 @@
if [ `uname` = Linux ]
then
- case "`uname | awk '{print $3}'`" in
- *)
- echo Linux-clone
- ;;
+ case `uname -r` in
2.[6789]*)
echo pthread
;;
+ *)
+ echo Linux-clone
+ ;;
esac
else
echo pthread