diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-07-27 20:45:03 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-07-27 20:45:03 +0300 |
commit | 507a4a4dea1e5462f12f7ed4b076c34e02054a38 (patch) | |
tree | aeec6ac73200a4729d639e6e75f0c63600293470 | |
parent | Windows: Don't strip liblzma.a too much. (diff) | |
download | xz-507a4a4dea1e5462f12f7ed4b076c34e02054a38.tar.xz |
Windows: build.sh is a bash script so name it correctly.
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | windows/INSTALL-Windows.txt | 6 | ||||
-rw-r--r-- | windows/build.bash (renamed from windows/build.sh) | 6 |
3 files changed, 7 insertions, 7 deletions
@@ -78,7 +78,7 @@ XZ Utils Installation 1.2.3. Windows 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 windows/INSTALL-Windows.txt for more information. diff --git a/windows/INSTALL-Windows.txt b/windows/INSTALL-Windows.txt index b5ac9630..b3ed93e3 100644 --- a/windows/INSTALL-Windows.txt +++ b/windows/INSTALL-Windows.txt @@ -118,13 +118,13 @@ Building XZ Utils cd /c/devel tar xzf xz-5.x.x.tar.gz 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 - 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 - 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 system is (very) slow under Windows. diff --git a/windows/build.sh b/windows/build.bash index 665951b9..e6754358 100644 --- a/windows/build.sh +++ b/windows/build.bash @@ -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 # or in the same directory containing this script. -if [ ! -f windows/build.sh ]; then +if [ ! -f windows/build.bash ]; then cd .. - if [ ! -f windows/build.sh ]; then + if [ ! -f windows/build.bash ]; then echo "You are in a wrong directory." >&2 exit 1 fi |