aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-09 14:05:29 +0000
committerrsc <devnull@localhost>2004-06-09 14:05:29 +0000
commit4c2a6585b30930f6bff71744f44aad31aefafd33 (patch)
treeb514881f0b9bfe952f6937866c087fe7b02c9245 /bin
parent4f604b1843899782071d3dedbb31c6a2e441213f (diff)
downloadplan9port-4c2a6585b30930f6bff71744f44aad31aefafd33.tar.gz
plan9port-4c2a6585b30930f6bff71744f44aad31aefafd33.tar.bz2
plan9port-4c2a6585b30930f6bff71744f44aad31aefafd33.zip
handle local files better
Diffstat (limited to 'bin')
-rwxr-xr-xbin/web4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/web b/bin/web
index e7db04de..a7615185 100755
--- a/bin/web
+++ b/bin/web
@@ -25,7 +25,9 @@ else
do
if [ -f "$i" ]
then
- i=file://`pwd`/$i
+ p=`pwd`
+ i=`cleanname -d $p $i`
+ i=file://$i
fi
plumb1 $i
done