From: Uwe Hermann Date: Sat, 24 Jan 2015 19:07:36 +0000 (+0100) Subject: sigrok-cross-mingw: Use /bin/sh. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=533e3e6c5286f6def5f31a58964047936910f94e;p=sigrok-util.git sigrok-cross-mingw: Use /bin/sh. --- diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index 1dac2c4..e7cd235 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh ## ## This file is part of the sigrok-util project. ## @@ -58,7 +58,7 @@ C="--host=$TOOLCHAIN_TRIPLET --prefix=$PREFIX" CM="-DCMAKE_TOOLCHAIN_FILE=$MXE/usr/$TOOLCHAIN_TRIPLET/share/cmake/mxe-conf.cmake" L="--disable-shared --enable-static" -if [ $TARGET == "i686" ]; then +if [ $TARGET = "i686" ]; then export PKG_CONFIG_PATH_i686_w64_mingw32_static="$P:$P2" else export PKG_CONFIG_PATH_x86_64_w64_mingw32_static="$P:$P2"