-
Notifications
You must be signed in to change notification settings - Fork 30
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
Path containing whilespaces #87
Comments
Hey @abenbachir , I'm not a maintainer here but I wrote some of the original installbuilder code and thought this might be a relatively easy fix. I've got a rough draft of a patch that might fix the problem (at least for .deb package builds). I haven't tried running this test for other packaging tools, so be wary about merging it to master! Here's the commit: https://github.com/johnkord/pal/commit/6ff2af856a4b9d665d00644ddb1e4ddbf7e9b892 |
@johnkord thanks, I will try it today. |
@johnkord I can confirm your commit worked. |
We are facing this bug in OMSAgent just when we added nokogiri library. Because nokogiri has a dependency on mini_portile2 gem that has 2 filepaths containing whitespaces:
mini_portile/test/assets/patch 1.diff
mini_portile/test/assets/test mini portile-1.0.0/
I can reproduce it by including a filename with whitespace in Build-OMS-Agent-for-Linux/omsagent/installer/datafiles/ruby.data :
${{RUBY_DEST}}/lib/ruby/gems/2.4.0/doc/my test.txt; ${{RUBY_DEST}}/lib/ruby/gems/2.4.0/doc/my test.txt;; 644; root; root
Error:
As a workaround, I've removed these 2 paths since its only related to testing, but we need to fix this issue.
The text was updated successfully, but these errors were encountered: