Windows: build.sh is a bash script so name it correctly.
This commit is contained in:
parent
b1cbfd40f0
commit
507a4a4dea
2
INSTALL
2
INSTALL
|
@ -78,7 +78,7 @@ XZ Utils Installation
|
||||||
1.2.3. Windows
|
1.2.3. Windows
|
||||||
|
|
||||||
Building XZ Utils on Windows is supported under MinGW + MSYS and
|
Building XZ Utils on Windows is supported under MinGW + MSYS and
|
||||||
Cygwin. There is windows/build.sh to ease packaging XZ Utils with
|
Cygwin. There is windows/build.bash to ease packaging XZ Utils with
|
||||||
MinGW + MSYS into a redistributable .zip or .7z file. See
|
MinGW + MSYS into a redistributable .zip or .7z file. See
|
||||||
windows/INSTALL-Windows.txt for more information.
|
windows/INSTALL-Windows.txt for more information.
|
||||||
|
|
||||||
|
|
|
@ -118,13 +118,13 @@ Building XZ Utils
|
||||||
cd /c/devel
|
cd /c/devel
|
||||||
tar xzf xz-5.x.x.tar.gz
|
tar xzf xz-5.x.x.tar.gz
|
||||||
cd xz-5.x.x
|
cd xz-5.x.x
|
||||||
sh windows/build.sh
|
bash windows/build.bash
|
||||||
|
|
||||||
If you used some other directory than C:\devel\tools for the build
|
If you used some other directory than C:\devel\tools for the build
|
||||||
tools, edit the variables near the beginning of build.sh first.
|
tools, edit the variables near the beginning of build.bash first.
|
||||||
|
|
||||||
If you want to build manually, read the buildit() function in
|
If you want to build manually, read the buildit() function in
|
||||||
build.sh. Look especially at the latter configure invocation.
|
build.bash. Look especially at the latter configure invocation.
|
||||||
|
|
||||||
Be patient. Running configure and other scripts used by the build
|
Be patient. Running configure and other scripts used by the build
|
||||||
system is (very) slow under Windows.
|
system is (very) slow under Windows.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
|
@ -48,9 +48,9 @@ esac
|
||||||
|
|
||||||
# This script can be run either at the top-level directory of the package
|
# This script can be run either at the top-level directory of the package
|
||||||
# or in the same directory containing this script.
|
# or in the same directory containing this script.
|
||||||
if [ ! -f windows/build.sh ]; then
|
if [ ! -f windows/build.bash ]; then
|
||||||
cd ..
|
cd ..
|
||||||
if [ ! -f windows/build.sh ]; then
|
if [ ! -f windows/build.bash ]; then
|
||||||
echo "You are in a wrong directory." >&2
|
echo "You are in a wrong directory." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue