repo.or.cz
/
guilt
/
mob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add support for SunOS
[guilt/mob.git]
/
guilt-top
blob
f0907ad5daa4f6a9b0f653185f758f0d08a24377
1
#!/bin/sh
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
4
#
5
6
USAGE
=
"[-p|--path]"
7
.
`dirname
$0
`
/
guilt
8
9
while
[
$#
-ne
0
];
do
10
case
"
$1
"
in
11
-p
|
--path
)
12
path
=
"
$GUILT_DIR
/
$branch
/"
;;
13
*)
14
usage
;;
15
esac
16
shift
17
done
18
19
p
=
`get_top`
20
21
if
[
-n
"
$p
"
];
then
22
disp
"
$path
$p
"
23
fi