File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 44# PATH=/usr/bin:/bin
55
66G=/opt/packrat/playpen/public/in-place/git/index/gitweb_config.perl
7- PATH=$HOME /git-master/bin:/usr/bin:/bin
7+ GIT=$HOME /git-master/bin/git
8+ PATH=/usr/bin:/bin
89LANG=C
910LC_CTYPE=C
1011export PATH LANG LC_CTYPE
@@ -15,14 +16,14 @@ export PATH LANG LC_CTYPE
1516
1617old_style_def_fix=b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1
1718
18- head=` git symbolic-ref HEAD 2> /dev/null` &&
19+ head=` $GIT symbolic-ref HEAD 2> /dev/null` &&
1920branch=` expr " $head " : ' refs/heads/\(.*\)' ` || branch=detached
2021
2122case " $branch " in
2223next | maint | master | pu)
2324 d=" prefix=$HOME /git-$branch " ;;
2425snap)
25- v=` git describe HEAD`
26+ v=` $GIT describe HEAD`
2627 expr " $v " : ' .*-g[0-9a-f]*$' > /dev/null && {
2728 echo >&2 " You are on 'snap' but $v is not an official version."
2829 exit 1
4041 case " $1 " in
4142 -pedantic)
4243 o= &&
43- rev=$( git- rev-parse HEAD) &&
44- case " $( git- merge-base " $old_style_def_fix " " $rev " ) " in
44+ rev=$( $GIT rev-parse HEAD) &&
45+ case " $( $GIT merge-base " $old_style_def_fix " " $rev " ) " in
4546 $old_style_def_fix )
4647 o=-Wold-style-definition ;;
4748 esac
6364 shift
6465done
6566
67+ $GIT describe --abbrev=4 HEAD | sed -e ' s/-/./g' > version
68+
6669make $d \
6770 GITWEB_CONFIG=$G \
6871 PYTHON_PATH=/usr/bin/python2.4 \
You can’t perform that action at this time.
0 commit comments