aboutsummaryrefslogtreecommitdiff
path: root/bin/B
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-23 06:51:06 +0000
committerrsc <devnull@localhost>2004-04-23 06:51:06 +0000
commite18c1340502932dfefda01e309567774e9fce599 (patch)
tree7b3ba4cef659609d3057de80fcb2d2fb34fc091a /bin/B
parent5e0f7e8a725904ae4fc5d11da3ded7c938856f1a (diff)
downloadplan9port-e18c1340502932dfefda01e309567774e9fce599.tar.gz
plan9port-e18c1340502932dfefda01e309567774e9fce599.tar.bz2
plan9port-e18c1340502932dfefda01e309567774e9fce599.zip
handle non-existent files right
Diffstat (limited to 'bin/B')
-rwxr-xr-xbin/B3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/B b/bin/B
index ed6db777..1d8df247 100755
--- a/bin/B
+++ b/bin/B
@@ -25,7 +25,8 @@ then
pwd="`pwd`"
for i
do
- plumb -s B -d edit $i
+ i=`cleanname -d "$pwd" "$i"`
+ plumb -s B -d edit "$i"
done
else
for i