mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-17 21:06:38 +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
|
rm -rf out
|
||||||
mkdir out
|
mkdir out
|
||||||
|
|
||||||
|
pwd
|
||||||
|
ls -a
|
||||||
|
|
||||||
#Execute buildx with linux dockerfile and output to current directory
|
#Execute buildx with linux dockerfile and output to current directory
|
||||||
if [ $# -eq 2 ]
|
if [ $# -eq 2 ]
|
||||||
then
|
then
|
||||||
|
@ -22,14 +22,15 @@ for x in f:
|
|||||||
elif x.startswith("# Add this project's cmake"):
|
elif x.startswith("# Add this project's cmake"):
|
||||||
inpatch = False
|
inpatch = False
|
||||||
if 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
|
result += x
|
||||||
|
|
||||||
f.close()
|
f.close()
|
||||||
p.close()
|
p.close()
|
||||||
|
|
||||||
#Replace cmake version, as 3.19 is not really needed
|
|
||||||
result.replace("3.19", "3.18")
|
|
||||||
|
|
||||||
f = open(input, "w")
|
f = open(input, "w")
|
||||||
f.write(result)
|
f.write(result)
|
||||||
f.close()
|
f.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user