-
-
Notifications
You must be signed in to change notification settings - Fork 59
Adding Windows support to the Perl cookbook (COOK-1765) #7
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…'ll get chef to stop complaining
…l location parameter.
…pending the new dir to the PATH
adding some handlers for installing Strawberry Perl on Windows escaping backslashes is important missing 'do' keywords changing :create_if_missing to :create; apparently that's been deprecated... adding owner, group, and mode. They're in Unix-talk, but hopefully it'll get chef to stop complaining removing a single. damn. period. confirmed that perl gets installed in Windows, but ignored the install location parameter. adding the proper flag to install to the specified directory, and prepending the new dir to the PATH adding PATH statement to the install block closing quotes fixing the path again. Use the right directory delimiter. using setx instead of set. May be problems due to required/escaped quotes backslashes for Windows paths... Moving the path modifier to a separate action, and trying the windows_path primitive fixing paths and going back to my prepend method I was missing a 'do' updating metadata and readme after completing install of Strawberry Perl on Windows.
Hoping this doesn't ruin my day
Using the Windows TEMP envvar for file storage (if it exists), and added recursive directory creation.
jtimberman
pushed a commit
that referenced
this pull request
Dec 4, 2012
Adding Windows support to the Perl cookbook (COOK-1765)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Installs Strawberry Perl on Windows boxen and adds to the system's PATH env-var. (It prepends PATH so that it comes before perl.exe included in the Windows Chef installer.
I have reached out to the Strawberry Perl team to ask for a persistent link for $LATEST-minversion-$BITNESS, or at least $LATEST-$BITNESS, but I've gotten no response yet.