From 3d8580eee240c87fb596968dd85f37c16b008438 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Thu, 16 May 2024 17:51:32 +0200 Subject: [PATCH] Copy all Git dir --- .github/workflows/ci.yml | 8 ++------ kiwixbuild/configs/winbash.py | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 252da49..220c6d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,8 @@ jobs: run: | echo "$SHELL" echo "***************************** C:\\Program Files\\Git\\bin" - mkdir $HOME/usr - cp -a C:/'Program Files'/Git/usr/bin $HOME/usr - cp -a C:/'Program Files'/Git/bin $HOME - ls C:/'Program Files'/Git/bin - echo "***************************** " - ls C:/'Program Files'/Git/usr/bin + cp -a C:/'Program Files'/Git $HOME + ls C:/'Program Files'/Git - name: Setup python 3.12 uses: actions/setup-python@v3 with: diff --git a/kiwixbuild/configs/winbash.py b/kiwixbuild/configs/winbash.py index 3294413..39a9a7b 100644 --- a/kiwixbuild/configs/winbash.py +++ b/kiwixbuild/configs/winbash.py @@ -22,7 +22,7 @@ class WinBashConfigInfo(ConfigInfo): @property def configure_wrapper(self): # yield "C:\\msys64\\usr\\bin\\bash.iexe" - yield str(Path.home() / "bin" / "bash.exe") + yield str(Path.home() / "Git" / "bin" / "bash.exe") # yield "C:\\msys64\\usr\\bin\\bash.exe"