File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed
Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 22
33# DDD=' -DUSE_SYMLINK_HEAD=0'
44# PATH=/usr/bin:/bin
5- PATH=$HOME /bin/Linux:/usr/bin:/bin
5+
6+ G=/opt/packrat/playpen/public/in-place/git/index/gitweb_config.perl
7+ PATH=$HOME /git-master/bin:/usr/bin:/bin
68LANG=C
79LC_CTYPE=C
810export PATH LANG LC_CTYPE
@@ -11,15 +13,19 @@ export PATH LANG LC_CTYPE
1113# GIT_SVN_NO_LIB=1
1214# export GIT_SVN_NO_LIB
1315
14- case " ` git symbolic-ref HEAD` " in
15- refs/heads/next)
16- d=" bindir=$HOME /bin/Linux gitexecdir=$HOME /bin/Linux" ;;
17- refs/heads/maint)
18- d=" prefix=$HOME /git-maint" ;;
19- refs/heads/master)
20- d=" prefix=$HOME /git-master" ;;
21- refs/heads/pu)
22- d=" prefix=$HOME /git-pu" ;;
16+ head=` git symbolic-ref HEAD` &&
17+ branch=` expr " $head " : ' refs/heads/\(.*\)' ` &&
18+ case " $branch " in
19+ next | maint | master | pu)
20+ d=" prefix=$HOME /git-$branch " ;;
21+ snap)
22+ v=` git describe HEAD`
23+ expr " $v " : ' .*-g[0-9a-f]*$' > /dev/null && {
24+ echo >&2 " You are on 'snap' but $v is not an official version."
25+ exit 1
26+ }
27+ d=" prefix=$HOME /git-snap-$v "
28+ ;;
2329* )
2430 d=" prefix=$HOME /git-test" ;;
2531esac
4753
4854: ${O=-O2}
4955make $d \
56+ GITWEB_CONFIG=$G \
5057 PYTHON_PATH=/usr/bin/python2.4 \
5158 CFLAGS=" $O -Wall -Wdeclaration-after-statement -g" \
5259 WITH_SEND_EMAIL=YesPlease \
You can’t perform that action at this time.
0 commit comments