aboutsummaryrefslogtreecommitdiff
path: root/bin/B
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-23 18:29:08 +0000
committerrsc <devnull@localhost>2003-11-23 18:29:08 +0000
commitdbd7b9a97eede27e707a279114305d7591d371fc (patch)
tree90e45fcce18ff109010d61f2d4fccb7d840302c4 /bin/B
parent97a5e5f2dd40eff09cb650c91c21f680b6d4206a (diff)
downloadplan9port-dbd7b9a97eede27e707a279114305d7591d371fc.tar.gz
plan9port-dbd7b9a97eede27e707a279114305d7591d371fc.tar.bz2
plan9port-dbd7b9a97eede27e707a279114305d7591d371fc.zip
various shell script fixes.
add 9a, 9c, 9l wrapper scripts. label sets label on xterm/9term
Diffstat (limited to 'bin/B')
-rwxr-xr-xbin/B12
1 files changed, 3 insertions, 9 deletions
diff --git a/bin/B b/bin/B
index c1a4b163..74bdb48b 100755
--- a/bin/B
+++ b/bin/B
@@ -18,16 +18,10 @@ then
echo could not find sam 2>&1
exit 2
else
- pwd=`pwd`
for i
do
- case $i in
- /*)
- echo "B $i" >>$sam
- ;;
- *)
- echo "B $pwd/$i" >>$sam
- ;;
- esac
+ pwd=`pwd`
+ file=`cleanname -d $pwd $i`
+ echo "B $file" >>$sam
done
fi