File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,20 @@ branch=`expr "$head" : 'refs/heads/\(.*\)'` || branch=detached
2121
2222case " $branch " in
2323next | maint | master | pu)
24- d=" prefix=$HOME /git-$branch " ;;
24+ prefix=" $HOME /git-$branch "
25+ ;;
2526snap)
2627 v=` $GIT describe HEAD`
2728 expr " $v " : ' .*-g[0-9a-f]*$' > /dev/null && {
2829 echo >&2 " You are on 'snap' but $v is not an official version."
2930 exit 1
3031 }
31- d= " prefix=$HOME /git-snap-$v "
32+ prefix=" $HOME /git-snap-$v "
3233 ;;
3334* )
34- d= " prefix=$HOME /git-test gitexecdir= \$ (prefix)/libexec/git-core " ;;
35+ prefix=" $HOME /git-test" ;;
3536esac
37+ d=" prefix=$prefix "
3638
3739: ${O=-O2}
3840
@@ -71,7 +73,7 @@ sh -c 'git describe --abbrev=4 HEAD' >/dev/null 2>&1 || {
7173make $d \
7274 GITWEB_CONFIG=$G \
7375 PYTHON_PATH=/usr/bin/python2.4 \
74- ETC_GITCONFIG=$d /etc/gitconfig \
76+ ETC_GITCONFIG=$prefix /etc/gitconfig \
7577 CFLAGS=" $O -Wall -Wdeclaration-after-statement -g" \
7678 " $@ "
7779status=$?
You can’t perform that action at this time.
0 commit comments