Skip to content

Fixes for Windows Linux subsystem shell and Cygwin bash#21

Open
lheinman wants to merge 11 commits into
Adobe-Marketing-Cloud:masterfrom
lheinman:master
Open

Fixes for Windows Linux subsystem shell and Cygwin bash#21
lheinman wants to merge 11 commits into
Adobe-Marketing-Cloud:masterfrom
lheinman:master

Conversation

@lheinman
Copy link
Copy Markdown

  • Created a Powershell script to convert file path provided by IntelliJ to *nix format.
  • Updated README.md to reflect changes in IntelliJ keyboard shortcuts configuration.
  • Provided a workaround for a Cygwin's curl problem: unable to open files in absolute paths, such as /tmp

Copy link
Copy Markdown
Contributor

@alexkli alexkli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lheinman Thanks for the contribution!

A few requests & comments inline.

Comment thread repo/README.md
Comment thread repo/repo
Comment thread repo/repoWrapper.ps1 Outdated
lheinman-chipotle-com and others added 3 commits July 23, 2019 22:41
Moved backslash flipping code into 'repo' bash shell script to enable using 'repo' from Cygwin bash directly
Comment thread repo/repoWin.ps1
$path = $path -replace '.:',"/mnt/c"

$cmdPath = $cmdPath -replace '\\','/'
$cmdPath = $cmdPath -replace '.:','/mnt/c'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why this logic can't be in repo too?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting this code in repo results in stripping all backslashes. For path:
repo: does not exist: C:DevgitDigitalPlatformuisrcmaincontentjcr_rootappschipotlecomponentsstructurepagev1pagepartialsgascript.html
for cmdPath:
/bin/bash: C:githubtoolsrepo/repo: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug enhancement waiting for response Waiting for a response from the reporter(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants