[gimp/wip/Jehan/gitlab-ci-win-32-bit] Fix getting innosetup install path.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/gitlab-ci-win-32-bit] Fix getting innosetup install path.
- Date: Thu, 13 May 2021 21:48:11 +0000 (UTC)
commit 02d9676d609abf6d3990bb95a817803acaf11863
Author: Jehan <jehan girinstud io>
Date: Thu May 13 23:47:56 2021 +0200
Fix getting innosetup install path.
build/windows/gitlab-ci/installer-gimp-msys2.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/build/windows/gitlab-ci/installer-gimp-msys2.sh b/build/windows/gitlab-ci/installer-gimp-msys2.sh
index 6d9663a53e..0b71e13714 100644
--- a/build/windows/gitlab-ci/installer-gimp-msys2.sh
+++ b/build/windows/gitlab-ci/installer-gimp-msys2.sh
@@ -1,8 +1,12 @@
wget https://jrsoftware.org/download.php/is.exe
-./is.exe //VERYSILENT //SUPPRESSMSGBOXES //ALLUSERS
-ls "/c/Program Files (x86)/Inno Setup 6/Languages"
-mkdir "/c/Program Files (x86)/Inno Setup 6/Languages/Unofficial"
-cd "/c/Program Files (x86)/Inno Setup 6/Languages/Unofficial"
+./is.exe //VERYSILENT //SUPPRESSMSGBOXES //ALLUSERS //LOG="innosetup.log"
+ISCCDIR=`grep "Dest filename:.*ISCC.exe" innosetup.log | sed 's/.*Dest filename: *\|ISCC.exe//g'`
+echo "Inno Setup installed in $ISCCDIR"
+ISCCDIR="`realpath $ISCCDIR`"
+echo "Inno Setup installed in $ISCCDIR"
+ls "$ISCCDIR"
+mkdir "${ISCCDIR}/Languages/Unofficial"
+cd "${ISCCDIR}/Languages/Unofficial"
wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/Basque.isl
wget https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseSimplified.isl
wget
https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseTraditional.isl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]