File: guilt-next

package info (click to toggle)
guilt 0.33-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 768 kB
  • ctags: 80
  • sloc: sh: 2,327; makefile: 116; perl: 42
file content (26 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# Copyright (c) Josef "Jeff" Sipek, 2006, 2007
#

USAGE="[-p|--path]"
. `dirname $0`/guilt

while [ $# -ne 0 ]; do
	case "$1" in
	-p|--path)
		path="$GUILT_DIR/$branch/" ;;
	*)
		usage ;;
	esac
	shift
done

n=`wc -l < $applied`
n=$(($n + 1))

p=`get_series | awk "{ if (NR == $n) print \\$0}"`

if [ -n "$p" ]; then
	disp $path$p
fi