Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cp-R for linux, xcopy for windows in installers #1686

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

haydenbaker
Copy link
Contributor

Description of changes:

  • BSD and GNU cp differ slightly in their (implementation of the -R option)[https://dev.to/ackshaey/macos-vs-linux-the-cp-command-will-trip-you-up-2p00], this change addresses that
  • For windows, xcopy will succeed with path with double-trailing slashes (//) on Windows 11, but not on Windows server, this change addresses that

Testing:

  • run installer on mac (local machine)
  • run installer on linux (ubuntu)
  • run installer on windows (11 and server)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@haydenbaker haydenbaker requested a review from a team as a code owner March 17, 2023 14:59
@haydenbaker haydenbaker merged commit 885002b into smithy-lang:main Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants