mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-18 05:16:37 +08:00
Debug workdir on linux
This commit is contained in:
parent
55b7f968f9
commit
3a93d91c20
@ -17,6 +17,9 @@ cd "$( dirname "$0" )"
|
||||
rm -rf out
|
||||
mkdir out
|
||||
|
||||
pwd
|
||||
ls -a
|
||||
|
||||
#Execute buildx with linux dockerfile and output to current directory
|
||||
if [ $# -eq 2 ]
|
||||
then
|
||||
|
@ -22,14 +22,15 @@ for x in f:
|
||||
elif x.startswith("# Add this project's cmake"):
|
||||
inpatch = False
|
||||
if inpatch == False:
|
||||
#Patch minimum cmake version to not break our builds on linux
|
||||
if x.startsWith("cmake_minimum_required"):
|
||||
result += "cmake_minimum_required(VERSION 3.18)\n"
|
||||
else
|
||||
result += x
|
||||
|
||||
f.close()
|
||||
p.close()
|
||||
|
||||
#Replace cmake version, as 3.19 is not really needed
|
||||
result.replace("3.19", "3.18")
|
||||
|
||||
f = open(input, "w")
|
||||
f.write(result)
|
||||
f.close()
|
||||
|
Loading…
Reference in New Issue
Block a user