Bugfix: Replace bashisms with standard sh in gitian descriptors
This commit is contained in:
parent
b77b4eda8d
commit
ab72068565
7 changed files with 11 additions and 11 deletions
|
@ -29,7 +29,7 @@ script: |
|
||||||
#
|
#
|
||||||
INSTALLPREFIX=$HOME/staging${BITS}
|
INSTALLPREFIX=$HOME/staging${BITS}
|
||||||
BUILDDIR=$HOME/build${BITS}
|
BUILDDIR=$HOME/build${BITS}
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
HOST=i686-w64-mingw32
|
HOST=i686-w64-mingw32
|
||||||
else
|
else
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
|
|
|
@ -39,7 +39,7 @@ script: |
|
||||||
#
|
#
|
||||||
INSTALLPREFIX=$HOME/staging${BITS}
|
INSTALLPREFIX=$HOME/staging${BITS}
|
||||||
BUILDDIR=$HOME/build${BITS}
|
BUILDDIR=$HOME/build${BITS}
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
HOST=i686-w64-mingw32
|
HOST=i686-w64-mingw32
|
||||||
else
|
else
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
|
@ -50,7 +50,7 @@ script: |
|
||||||
#
|
#
|
||||||
tar xzf $INDIR/openssl-1.0.1h.tar.gz
|
tar xzf $INDIR/openssl-1.0.1h.tar.gz
|
||||||
cd openssl-1.0.1h
|
cd openssl-1.0.1h
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
OPENSSL_TGT=mingw
|
OPENSSL_TGT=mingw
|
||||||
else
|
else
|
||||||
OPENSSL_TGT=mingw64
|
OPENSSL_TGT=mingw64
|
||||||
|
|
|
@ -50,7 +50,7 @@ script: |
|
||||||
STAGING=$HOME/staging${BITS}
|
STAGING=$HOME/staging${BITS}
|
||||||
BUILDDIR=$HOME/build${BITS}
|
BUILDDIR=$HOME/build${BITS}
|
||||||
BINDIR=$OUTDIR/$BITS
|
BINDIR=$OUTDIR/$BITS
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
HOST=i686-w64-mingw32
|
HOST=i686-w64-mingw32
|
||||||
else
|
else
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
|
@ -63,7 +63,7 @@ script: |
|
||||||
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
|
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
|
||||||
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r13.zip
|
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r13.zip
|
||||||
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
|
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
|
||||||
if [ "$NEEDDIST" == "1" ]; then
|
if [ "x$NEEDDIST" = "x1" ]; then
|
||||||
# Make source code archive which is architecture independent so it only needs to be done once
|
# Make source code archive which is architecture independent so it only needs to be done once
|
||||||
cd $HOME/build/bitcoin
|
cd $HOME/build/bitcoin
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
|
@ -26,7 +26,7 @@ script: |
|
||||||
#
|
#
|
||||||
INSTALLPREFIX=$HOME/staging${BITS}
|
INSTALLPREFIX=$HOME/staging${BITS}
|
||||||
BUILDDIR=$HOME/build${BITS}
|
BUILDDIR=$HOME/build${BITS}
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
HOST=i686-w64-mingw32
|
HOST=i686-w64-mingw32
|
||||||
else
|
else
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
|
|
|
@ -18,7 +18,7 @@ files:
|
||||||
script: |
|
script: |
|
||||||
export FAKETIME=$REFERENCE_DATETIME
|
export FAKETIME=$REFERENCE_DATETIME
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
if [ "$GBUILD_BITS" == "32" ]; then
|
if [ "x$GBUILD_BITS" = "x32" ]; then
|
||||||
ARCH='i386-linux-gnu'
|
ARCH='i386-linux-gnu'
|
||||||
else
|
else
|
||||||
ARCH='x86_64-linux-gnu'
|
ARCH='x86_64-linux-gnu'
|
||||||
|
@ -74,7 +74,7 @@ script: |
|
||||||
#endif
|
#endif
|
||||||
' > $QCONFIG
|
' > $QCONFIG
|
||||||
|
|
||||||
if [ "$GBUILD_BITS" == "32" ]; then
|
if [ "x$GBUILD_BITS" = "x32" ]; then
|
||||||
echo '
|
echo '
|
||||||
/* Machine byte-order */
|
/* Machine byte-order */
|
||||||
#define Q_BIG_ENDIAN 4321
|
#define Q_BIG_ENDIAN 4321
|
||||||
|
|
|
@ -38,7 +38,7 @@ script: |
|
||||||
INSTALLPREFIX=$HOME/staging${BITS}
|
INSTALLPREFIX=$HOME/staging${BITS}
|
||||||
BUILDDIR=$HOME/build${BITS}
|
BUILDDIR=$HOME/build${BITS}
|
||||||
DEPSDIR=$HOME/deps${BITS}
|
DEPSDIR=$HOME/deps${BITS}
|
||||||
if [ "$BITS" == "32" ]; then
|
if [ "x$BITS" = "x32" ]; then
|
||||||
HOST=i686-w64-mingw32
|
HOST=i686-w64-mingw32
|
||||||
else
|
else
|
||||||
HOST=x86_64-w64-mingw32
|
HOST=x86_64-w64-mingw32
|
||||||
|
|
|
@ -34,12 +34,12 @@ if test -z $with_gui && test -n "@no_qt@"; then
|
||||||
with_gui=no
|
with_gui=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test @host_os@ == darwin; then
|
if test x@host_os@ = xdarwin; then
|
||||||
BREW=no
|
BREW=no
|
||||||
PORT=no
|
PORT=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test @host_os@ == mingw32; then
|
if test x@host_os@ = xmingw32; then
|
||||||
if test -z $with_qt_incdir; then
|
if test -z $with_qt_incdir; then
|
||||||
with_qt_incdir=$prefix/include
|
with_qt_incdir=$prefix/include
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue