You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jship, I have run into a problem with this proposed solution. git archive preserves the attributes of the files in the repository. It knows, for example, that test-inject.sh is marked as executable. git clone followed by tar does not preserve that attribute. That is reflected in the failing unit test on Windows.
@jship, I am going to revert to a solution that detects if variable expansion is occurring and then escapes the command in git submodule foreach if it is.
Motivation and discussion: commercialhaskell/stack#5536
The problem is that
$displaypath
is expanded prematurely (before it has a value) on PowerShell because https://hackage.haskell.org/package/process-1.6.18.0/src/System/Process/Windows.hsctranslateInternal
encloses all arguments in double quotes (extract):The proposed solution is to use (or the closest to it, with BSD tar):
The text was updated successfully, but these errors were encountered: