aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-02-29 22:42:33 +0000
committerrsc <devnull@localhost>2004-02-29 22:42:33 +0000
commitf063dad96ec737db0ce213c4df32ecc600637881 (patch)
treea8735ff7873de4f7fda886264158e89493875290 /bin
parent91c13e54b5d631b65e2f8344d5e0abd058f78ba1 (diff)
downloadplan9port-f063dad96ec737db0ce213c4df32ecc600637881.tar.gz
plan9port-f063dad96ec737db0ce213c4df32ecc600637881.tar.bz2
plan9port-f063dad96ec737db0ce213c4df32ecc600637881.zip
Small tweaks to make things build again.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/B15
1 files changed, 7 insertions, 8 deletions
diff --git a/bin/B b/bin/B
index fb45d3e4..85b08861 100755
--- a/bin/B
+++ b/bin/B
@@ -1,17 +1,14 @@
#!/bin/sh
+files=""
+dest=""
+
if [ $# -eq 0 ]
then
echo 'usage: B file...' 2>&1
exit 1
fi
-for i
-do
- plumb $i
-done
-exit 0
-
if [ "x$DISPLAY" = "x" ]
then
sam="/tmp/.sam.$USER"
@@ -25,8 +22,10 @@ fi
if [ ! -p $sam ]
then
- echo could not find sam 2>&1
- exit 2
+ for i
+ do
+ plumb -s B -d edit $i
+ done
else
for i
do