Fix shell script execution (#808)

This commit is contained in:
napoly 2024-03-10 15:14:04 +01:00 committed by GitHub
parent 307689d372
commit 1a4c75d183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 77 additions and 2 deletions

View File

@ -9,7 +9,7 @@ buildscript {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.17'
classpath 'com.google.gradle:osdetector-gradle-plugin:1.7.3'
classpath 'com.github.johnrengelman:shadow:8.1.1'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.6.3'
classpath 'org.springframework.boot:spring-boot-gradle-plugin:3.2.3'
classpath 'com.gradle:gradle-enterprise-gradle-plugin:3.16.1' // added for windows build verification-metadata.xml error
}
}
@ -169,7 +169,7 @@ configure([project(':cli'),
def unixScriptFile = file("${rootProject.projectDir}/haveno-$applicationName")
unixScriptFile.text = unixScriptFile.text.replace(
'APP_HOME=$( cd "${APP_HOME:-./}.." && pwd -P ) || exit', 'APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit')
'APP_HOME=$( cd "${APP_HOME:-./}.." > /dev/null && pwd -P ) || exit', 'APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit')
if (applicationName == 'desktop') {
def script = file("${rootProject.projectDir}/haveno-$applicationName")

View File

@ -136,6 +136,11 @@
<sha256 value="7d3df5aafa2dc61ad1dbad30f411548c0184ed92d94628c63168721f08237cd4" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.core" name="jackson-annotations" version="2.14.2">
<artifact name="jackson-annotations-2.14.2.jar">
<sha256 value="2c6869d505cf60dc066734b7d50339f975bd3adc635e26a78abb71acb4473c0d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.core" name="jackson-core" version="2.1.3">
<artifact name="jackson-core-2.1.3.jar">
<sha256 value="754184022345800c2d066eceeaf2f7a88a7c2aaeae23eb1c76ef598854aa9157" origin="Generated by Gradle"/>
@ -154,6 +159,11 @@
<sha256 value="9bfa278ad05179fb68087851caf607652702ca25424bec8358a3716e751405c8" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.core" name="jackson-core" version="2.14.2">
<artifact name="jackson-core-2.14.2.jar">
<sha256 value="b5d37a77c88277b97e3593c8740925216c06df8e4172bbde058528df04ad3e7a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.core" name="jackson-databind" version="2.13.1">
<artifact name="jackson-databind-2.13.1.jar">
<sha256 value="56cfbdc9e1736b5c56b43757f6cf546ee6d49393c79383c4e495c4f7047cb506" origin="Generated by Gradle"/>
@ -167,6 +177,11 @@
<sha256 value="0d5459b7f18184c4ce8f07264b1b7feced51529e550a098d6f9e2dfe091138ad" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.core" name="jackson-databind" version="2.14.2">
<artifact name="jackson-databind-2.14.2.jar">
<sha256 value="501d3abce4d18dcc381058ec593c5b94477906bba6efbac14dae40a642f77424" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.datatype" name="jackson-datatype-jdk8" version="2.13.1">
<artifact name="jackson-datatype-jdk8-2.13.1.jar">
<sha256 value="8fd36efc6cbda4f3f22400c1ea0d07f043fc0b8b80c9e3e4142b82e702b51118" origin="Generated by Gradle"/>
@ -204,6 +219,11 @@
<sha256 value="f9385ea7fbe6d3731aa965eff11cc4c1e94ea00a1265c2cc1ba605d7010ebfcd" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.module" name="jackson-module-parameter-names" version="2.14.2">
<artifact name="jackson-module-parameter-names-2.14.2.jar">
<sha256 value="b4e3fbea545a155a14dcb8a65c46b57ad8d0fb9627c84f789858263f05299330" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="com.fasterxml.jackson.module" name="jackson-modules-base" version="2.13.1">
<artifact name="jackson-modules-base-2.13.1.pom">
<sha256 value="bbf09eb6177793218eec17171631a09c145f3eafee68b1153aade38dad0cbdba" origin="Generated by Gradle"/>
@ -1506,6 +1526,11 @@
<sha256 value="37e2b4345ee0b0078d39c24424ab952672d37994ba86135d44c2e76279864f5a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.spring.gradle" name="dependency-management-plugin" version="1.1.4">
<artifact name="dependency-management-plugin-1.1.4.jar">
<sha256 value="8a59af77648dd07e6b6751d271db2fa1d02bf2e6cf7e9ab37fb9b08ecc9b43a1" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="io.vavr" name="vavr" version="0.10.2">
<artifact name="vavr-0.10.2.jar">
<sha256 value="1b2ae46cf352627e05b39ac1f1d3bda7b285a8f643cdc7472aea4aa279492e54" origin="Generated by Gradle"/>
@ -1698,11 +1723,21 @@
<sha256 value="1af699f8d9ddab67f9a0d202fbd7915eb0362a5a6dfd5ffc54cafa3465c9cb0a" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="net.java.dev.jna" name="jna" version="5.13.0">
<artifact name="jna-5.13.0.jar">
<sha256 value="66d4f819a062a51a1d5627bffc23fac55d1677f0e0a1feba144aabdd670a64bb" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="net.java.dev.jna" name="jna" version="5.7.0">
<artifact name="jna-5.7.0.jar">
<sha256 value="c34e3e002cca6e197379c105b554255cc0638101ed7a09ef00334dade0013621" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="net.java.dev.jna" name="jna-platform" version="5.13.0">
<artifact name="jna-platform-5.13.0.jar">
<sha256 value="474d7b88f6e97009b6ec1d98c3024dd95c23187c65dabfbc35331bcac3d173dd" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="net.java.dev.jna" name="jna-platform" version="5.7.0">
<artifact name="jna-platform-5.7.0.jar">
<sha256 value="42e020705692eddbd285e2b72ef0ff468f51a926382569c45f4e9cea4602ad1e" origin="Generated by Gradle"/>
@ -1951,6 +1986,11 @@
<sha256 value="9355f3876baf82fec13ced22c12b62d57536230836406d359459128e4f73ed51" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.client5" name="httpclient5" version="5.2.3">
<artifact name="httpclient5-5.2.3.jar">
<sha256 value="7cf4c7e60338aa334e8699f2423af1c93bdc3a3121f2df22378d61222fa5910c" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.client5" name="httpclient5-parent" version="5.0">
<artifact name="httpclient5-parent-5.0.pom">
<sha256 value="0765e5534209b92e17efd93eee94348cf6de7f3045723d12d0818884b9fab028" origin="Generated by Gradle"/>
@ -1971,6 +2011,11 @@
<sha256 value="293321cbf594d79ea8a0cb0214f75f146d17f088be17ad5ce11c2fe864df124c" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.core5" name="httpcore5" version="5.2.4">
<artifact name="httpcore5-5.2.4.jar">
<sha256 value="a7f62496113f66f9e27c26b84c44f5ce4555c6270083cdf2d45f255336cd52af" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.core5" name="httpcore5-h2" version="5.1.3">
<artifact name="httpcore5-h2-5.1.3.jar">
<sha256 value="d0e78ba15aa8ebe77982b660ac4b09a95d6e035dbdbea762577dc1c8e2935807" origin="Generated by Gradle"/>
@ -1981,6 +2026,11 @@
<sha256 value="5a087fb8c619979d492a83546f351ddadf32b28cc6a32923229f3fc777171578" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.core5" name="httpcore5-h2" version="5.2.4">
<artifact name="httpcore5-h2-5.2.4.jar">
<sha256 value="dc1a95e73eb04db93451533d390ce02c53b301a10dc343d08c862f2934b3d30e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.apache.httpcomponents.core5" name="httpcore5-parent" version="5.0">
<artifact name="httpcore5-parent-5.0.pom">
<sha256 value="b0dfd9fdc009aa5ca9a737ad9e4bef258f7dc32c0589f1dee0465bbc1a280864" origin="Generated by Gradle"/>
@ -3258,6 +3308,11 @@
<sha256 value="3fc50bf76d4c0fffb95236f95d7009d36db494190fe6684badd42bfecc4040b9" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework" name="spring-core" version="6.0.10">
<artifact name="spring-core-6.0.10.jar">
<sha256 value="1c0a6bf9cccfa8bbe6ab49c13963c1abb2edff81d88b1af7462617ddc7c0975d" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework" name="spring-expression" version="4.3.14.RELEASE">
<artifact name="spring-expression-4.3.14.RELEASE.jar">
<sha256 value="932e0e19bd9838aa3f10ea5be8e4fc90c1a2dc13af6ec389a1bd6ef1a213f7d7" origin="Generated by Gradle"/>
@ -3292,6 +3347,11 @@
<sha256 value="65e3c591eb9378152d1625eda67e710073815618d767446b9bc3a781a4bbeda0" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework" name="spring-jcl" version="6.0.10">
<artifact name="spring-jcl-6.0.10.jar">
<sha256 value="323209c83374e9e4c0785311334862fef23755b24c3c0ef94af57313336d6c30" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework" name="spring-web" version="4.3.14.RELEASE">
<artifact name="spring-web-4.3.14.RELEASE.jar">
<sha256 value="083e47f516ccded21ee4b79044c5842f23049f38bec936f4f25b6927f08984a7" origin="Generated by Gradle"/>
@ -3369,6 +3429,11 @@
<sha256 value="34aea693bb4c84a7eee6051a14a9a12374a21dc26b4413570bd30363ec976ebc" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-buildpack-platform" version="3.2.3">
<artifact name="spring-boot-buildpack-platform-3.2.3.jar">
<sha256 value="391e87b9d75217c62477a0c193e94db6cabde1ecdf6013946bca89022c69d608" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-dependencies" version="1.5.10.RELEASE">
<artifact name="spring-boot-dependencies-1.5.10.RELEASE.pom">
<sha256 value="aa82386c27e7548624edcc4812ab7115aa9cec15d6716ab4280f3a79791554b3" origin="Generated by Gradle"/>
@ -3389,6 +3454,11 @@
<sha256 value="98c3ea15d56e9d76b2a4b2672771251752beb0aa5a89991f6b5227e51b665262" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-gradle-plugin" version="3.2.3">
<artifact name="spring-boot-gradle-plugin-3.2.3.jar">
<sha256 value="3b2b7891535f2830c6d264b267b2410b9900203c45bf3a97590acc8e8188823e" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-loader-tools" version="1.5.10.RELEASE">
<artifact name="spring-boot-loader-tools-1.5.10.RELEASE.jar">
<sha256 value="32ac263748bbc6a128c732402579f26849b37d62e0ef4c457c34dfceea0bfc71" origin="Generated by Gradle"/>
@ -3399,6 +3469,11 @@
<sha256 value="28246505aea783cc7ea279a91200803e53d0a37b27854fe498d3bdfa0c71a623" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-loader-tools" version="3.2.3">
<artifact name="spring-boot-loader-tools-3.2.3.jar">
<sha256 value="3bb672690a24a866cd488802d8ff5846fd48ba783a10a25c5bd6fc3eea27f154" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.springframework.boot" name="spring-boot-parent" version="1.5.10.RELEASE">
<artifact name="spring-boot-parent-1.5.10.RELEASE.pom">
<sha256 value="2eb05ff3c2c52ce028248e0f04b83456e16bbac108015fdc4465e91eb77bb539" origin="Generated by Gradle"/>