Comments (11)
It's probably worth it to test portable packages only on systems with clean PATHs.
from chocolatey-packages.
I have this problem in version 2.7.1. In Windows 10 and 8.1.
from chocolatey-packages.
Thanks. If you have a potential fix for this, I would welcome it. Almost all of my locations for testing already have git installed.
from chocolatey-packages.
@ferventcoder Let me try it on a VM...
from chocolatey-packages.
@ferventcoder Still present on 2.7.1 for me.
Given that contents of tools/bin
are just:
bash.exe
bash.exe.ignore
git.exe
sh.exe
sh.exe.ignore
and that analyzing it in Dependency Walker shows only Win32 dependences, git.exe must be using its executable path to dlopen
the DLLs in tools/mingw64/bin
. However what's strange is that it's linked against these at all when there are perfectly good copies in tools/usr/bin/msys-*
.
from chocolatey-packages.
@ferventcoder AHAH found it. The problem is our shim. There are four binaries called git.exe
, at bin/git.exe
, cmd/git.exe
, mingw64/bin/git.exe
, and mingw64/libexec/git-core/git.exe
. Shims to any but the last will work. We create shims for all files ending in git.exe
, which means we create 4 shims, and the last one is what remains. So we always luck out. The solution is to create a shim only for cmd/git.exe
(or any of the three working exes).
from chocolatey-packages.
@ferventcoder While we're at it, can we add a shim for the /git-bash.exe
as well?
from chocolatey-packages.
Ah, sweet! Yeah, that sounds like the right approach.
Where is the git-bash.exe at?
from chocolatey-packages.
It's in the root of the archive (e.g. next to /bin
and README.portable
) and gets unzipped to something like git.commandline/tools/git-bash.exe
from chocolatey-packages.
Would this do it?
if (!($file.FullName -match '\\cmd\\git.exe$|\\git-bash.exe$|ssh[^\\]*$' )) {
from chocolatey-packages.
Actually we should eliminate the ssh
ones. They conflict with win32-openssh
.
from chocolatey-packages.
Related Issues (20)
- Deprecate the pip package
- upgrade to synergy-core 1.9.1 HOT 1
- Meta: purpose of this package repo?
- Update mysql or remove it HOT 2
- Warning in webpicmd choco install
- Jetty package is broken
- Toggl hasn't been pushed in 2 years HOT 4
- keybase package version is outdated HOT 1
- Installing `mysql`, then uninstalling and installing `mysql --version 5.7.18` leads to server not being reachable HOT 2
- SharpKeys 3.9 is avalable HOT 2
- sumatrapdf* new version HOT 2
- any video converter update HOT 1
- 404 webpicmd download urls HOT 3
- Request: FileZilla portable
- Windirstat path update and shortcuts HOT 2
- ruby2.devkit is broken due to bintray sunset HOT 1
- webPIcmd old download URL HOT 4
- (Google Drive) Update to "Drive For Desktop" HOT 1
- kdiff3 is old in chocolatey/is this the right repo HOT 4
- Duplicate SharpKeys with different version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chocolatey-packages.