thandle non-existent files right - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit e18c1340502932dfefda01e309567774e9fce599
(DIR) parent 5e0f7e8a725904ae4fc5d11da3ded7c938856f1a
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 23 Apr 2004 06:51:06 +0000
handle non-existent files right
Diffstat:
M bin/B | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/bin/B b/bin/B
t@@ -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