aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-31 16:08:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-31 16:08:02 -0700
commitcc04f5d3f8a40ff71aafef2678240ca7ff792a11 (patch)
treedf6295f7d7536cde08f09abdd94291967c3976ab /packaging/windows
parente3cc0d9651702578fbe7267b7c378696ab422211 (diff)
downloadsubsurface-cc04f5d3f8a40ff71aafef2678240ca7ff792a11.tar.gz
cleanup: fix stupid hack for MXE build script
This is much easier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows')
-rwxr-xr-xpackaging/windows/mxe-based-build.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh
index 4b71d03af..7f4c809b2 100755
--- a/packaging/windows/mxe-based-build.sh
+++ b/packaging/windows/mxe-based-build.sh
@@ -162,10 +162,7 @@ if [ "$MXEBUILDTYPE" = "x86_64-w64-mingw32.shared" ] ; then
rm -f build.libmtp
cd "$BASEDIR/libmtp"
export NOCONFIGURE=1
- # crudely disable the interactive part of autogen.sh
- sed --in-place=.bak 's/read IN/IN="N"/;s/echo "Auto/#echo "Auto/' autogen.sh
- bash autogen.sh
- mv autogen.sh.bak autogen.sh
+ echo 'N' | bash autogen.sh
cd "$BUILDDIR"
mkdir -p libmtp
cd libmtp