summaryrefslogtreecommitdiffstats
path: root/src/mxe-conf.mk
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-06-11 23:08:38 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-06-11 23:08:38 (GMT)
commitaab2b702534827d49a84975ad586a8a0ca303004 (patch)
treee816e73190d3fd5ea577991aa6b6f119e730e5b2 /src/mxe-conf.mk
parentd6ddf0f589b30e0a36c130fb44ca9813d2545d8d (diff)
downloadmxe-aab2b702534827d49a84975ad586a8a0ca303004.zip
mxe-aab2b702534827d49a84975ad586a8a0ca303004.tar.gz
mxe-aab2b702534827d49a84975ad586a8a0ca303004.tar.bz2
create tmp-*/readonly instead of usr/readonly
Removing MXE directory with "rm -rf" used to fail on file usr/readonly/.gitkeep because directory usr/readonly was readonly. Now readonly directory is created in tmp-* directory and .gitkeep is not created for it (because tmp-* is not under usr/). Problems with removing MXE directory are fixed even in case of interrupted build. fix #1221
Diffstat (limited to 'src/mxe-conf.mk')
-rw-r--r--src/mxe-conf.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mxe-conf.mk b/src/mxe-conf.mk
index 45ba6a3..83a92b0 100644
--- a/src/mxe-conf.mk
+++ b/src/mxe-conf.mk
@@ -107,13 +107,6 @@ define $(PKG)_BUILD_$(BUILD)
cd '$(1)' && autoreconf -fiv
cd '$(1)' && ./configure
- #create readonly directory to force wine to fail
- mkdir -p "$$WINEPREFIX"
- [ -f "$$WINEPREFIX/.gitkeep" ] \
- || chmod 0755 "$$WINEPREFIX" \
- && touch "$$WINEPREFIX/.gitkeep"
- chmod 0555 "$$WINEPREFIX"
-
#create script "wine" in a directory which is in PATH
mkdir -p '$(PREFIX)/$(BUILD)/bin/'
(echo '#!/usr/bin/env bash'; \