File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 33# Build the portable Git for Windows.
44
55test -z " $1 " && {
6- echo " Usage: $0 <version>"
6+ echo " Usage: $0 <version> [optional components] "
77 exit 1
88}
99
@@ -24,8 +24,9 @@ x86_64)
2424 die " Unhandled architecture: $ARCH "
2525 ;;
2626esac
27-
28- TARGET=" $HOME " /PortableGit-" $1 " .7z.exe
27+ VERSION=$1
28+ shift
29+ TARGET=" $HOME " /PortableGit-" $VERSION " .7z.exe
2930OPTS7=" -m0=lzma -mx=9 -md=64M"
3031TMPPACK=/tmp.7z
3132SHARE=" $( cd " $( dirname " $0 " ) " && pwd) "
@@ -70,7 +71,7 @@ pacman_list () {
7071
7172LIST=" $( pacman_list mingw-w64-$ARCH -git git-extra ncurses mintty vim \
7273 sed awk less grep gnupg findutils coreutils \
73- dos2unix which |
74+ dos2unix which $@ |
7475 grep -v -e ' \.[acho]$' -e ' /aclocal/' \
7576 -e ' /man/' \
7677 -e ' ^/usr/include/' -e ' ^/mingw32/include/' \
You can’t perform that action at this time.
0 commit comments