cp bash stuff in dir without space
This commit is contained in:
parent
a90cf3d0a6
commit
4c23ac3c02
|
@ -20,7 +20,11 @@ jobs:
|
|||
- name: List info
|
||||
shell: bash
|
||||
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
|
||||
|
|
|
@ -2,6 +2,7 @@ from .base import ConfigInfo
|
|||
import sysconfig
|
||||
|
||||
from kiwixbuild._global import get_target_step
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
class WinBashConfigInfo(ConfigInfo):
|
||||
|
@ -20,8 +21,10 @@ class WinBashConfigInfo(ConfigInfo):
|
|||
|
||||
@property
|
||||
def configure_wrapper(self):
|
||||
# yield "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
yield "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
# yield "C:\\msys64\\usr\\bin\\bash.iexe"
|
||||
yield str(Path.home() / "bin" / "bash.exe")
|
||||
|
||||
# yield "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
|
||||
@property
|
||||
def make_wrapper(self):
|
||||
|
@ -57,6 +60,6 @@ class WinBashConfigInfo(ConfigInfo):
|
|||
# )
|
||||
# env["PATH"][:] = list(PATH_ENV)
|
||||
# env["PATH"] += ["C:\\msys64\\usr\\bin"]
|
||||
env["SHELL"] = "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
env["CONFIG_SHELL"] = "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
# env["SHELL"] = "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
# env["CONFIG_SHELL"] = "C:\\msys64\\usr\\bin\\bash.exe"
|
||||
return env
|
||||
|
|
Loading…
Reference in New Issue