summaryrefslogtreecommitdiffstats
path: root/src/libthread/thread.sh
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-11-08 16:03:20 +0000
committerrsc <devnull@localhost>2004-11-08 16:03:20 +0000
commit195645536743aeb99eb336726823c38716cec02d (patch)
treeaccb04698efde81ad1228adfddcea695d544ca25 /src/libthread/thread.sh
parent77dcf88474c55e040940be8a5f9e7fa1537af564 (diff)
downloadplan9port-195645536743aeb99eb336726823c38716cec02d.tar.gz
plan9port-195645536743aeb99eb336726823c38716cec02d.zip
more thread work
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