aboutsummaryrefslogtreecommitdiff
path: root/bin/9l
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-17 20:57:57 +0000
committerrsc <devnull@localhost>2005-01-17 20:57:57 +0000
commiteea5f6adfed4de2d9ef848b170027fd57206c81c (patch)
tree60636375a2e46e5b0277f8e2772a794a1effd141 /bin/9l
parent87ccb5f9cfd230cc1be7ba81ba6d2b6ba7dc7254 (diff)
downloadplan9port-eea5f6adfed4de2d9ef848b170027fd57206c81c.tar.gz
plan9port-eea5f6adfed4de2d9ef848b170027fd57206c81c.tar.bz2
plan9port-eea5f6adfed4de2d9ef848b170027fd57206c81c.zip
source $PLAN9/config
Diffstat (limited to 'bin/9l')
-rwxr-xr-xbin/9l3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/9l b/bin/9l
index cd3d0ac9..7ea689d1 100755
--- a/bin/9l
+++ b/bin/9l
@@ -1,5 +1,6 @@
#!/bin/sh
+test -f $PLAN9/config && . $PLAN9/config
libsl=""
doautolib=true
@@ -173,7 +174,7 @@ case "$tag" in
*Linux*)
ld=gcc
extralibs="$extralibs -lutil"
- case "`uname -r`" in
+ case "${SYSVERSION:-`uname -r`}" in
2.6.*)
extralibs="$extralibs -lpthread"
;;