mxe-conf: fix for touchin readonly directory

This commit is contained in:
Tony Theodore 2016-01-21 17:43:01 +11:00
parent 6912ce18ee
commit 5dffb8ffe1
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ define $(PKG)_BUILD_$(BUILD)
#create readonly directory to force wine to fail
mkdir -p "$$WINEPREFIX"
touch "$$WINEPREFIX/.gitkeep"
[ -f "$$WINEPREFIX/.gitkeep"] || touch "$$WINEPREFIX/.gitkeep"
chmod 0555 "$$WINEPREFIX"
#create script "wine" in a directory which is in PATH