Add support for DESTDIR in guilt/Makefile.
[guilt/mob.git] / guilt-prev
blob9309cd585471589122beacabe03bc239b2bb5af3
1 #!/bin/sh
3 # Copyright (c) Josef "Jeff" Sipek, 2006, 2007
6 USAGE="[-p|--path]"
7 . `dirname $0`/guilt
9 while [ $# -ne 0 ]; do
10 case "$1" in
11 -p|--path)
12 path="$GUILT_DIR/$branch/" ;;
14 usage ;;
15 esac
16 shift
17 done
19 p=`get_prev`
21 if [ -n "$p" ]; then
22 echo $path$p