Skip to content

Commit

Permalink
git: windows: move binaries out of Library directory
Browse files Browse the repository at this point in the history
The git install lives under a directory called Library.  This isn't in
the path.

Signed-off-by: Sean Cross <[email protected]>
  • Loading branch information
xobs committed Nov 15, 2019
1 parent 281a165 commit 8c86d11
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ case "${ARCH}" in
wget -O $input/git-${ARCH}.tar.bz2 "$win_git_url"
cd $output
tar xvjf $input/git-${ARCH}.tar.bz2
rm -rf input
mv Library/* .
rmdir Library
rm -rf info

# Extra files on Windows (sh.exe, cp.exe, etc.)
cp -a $base/extras/windows/* $output/bin
Expand Down Expand Up @@ -152,13 +154,13 @@ case "${ARCH}" in
wget -O $input/git-${ARCH}.tar.bz2 "$mac_git_url"
cd $output
tar xvjf $input/git-${ARCH}.tar.bz2
rm -rf input
rm -rf info

# Make
wget -O $input/make-${ARCH}.tar.bz2 "$mac_make_url"
cd $output
tar xvjf $input/make-${ARCH}.tar.bz2
rm -rf input
rm -rf info

cd $base/output
zip -r $output_name.zip $output_name
Expand Down Expand Up @@ -197,13 +199,13 @@ case "${ARCH}" in
wget -O $input/git-${ARCH}.tar.bz2 "$linux_git_url"
cd $output
tar xvjf $input/git-${ARCH}.tar.bz2
rm -rf input
rm -rf info

# Make
wget -O $input/make-${ARCH}.tar.bz2 "$linux_make_url"
cd $output
tar xvjf $input/make-${ARCH}.tar.bz2
rm -rf input
rm -rf info

cd $base/output
tar cvzf $output_name.tar.gz $output_name
Expand Down

0 comments on commit 8c86d11

Please sign in to comment.