Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Escape dirname for shell commands in install_seed #44

Merged
merged 1 commit into from Nov 5, 2015
Merged

Escape dirname for shell commands in install_seed #44

merged 1 commit into from Nov 5, 2015

Conversation

ghost
Copy link

@ghost ghost commented Nov 4, 2015

So that seed install can be successfully run in paths that need to be escaped like /path/to/some (file)

@@ -322,7 +322,7 @@ def remove_seeds
def install_seeds
self.seeds.sort.each do |name, seed|
dirname = File.join(self.root_path, "Seeds", seed.name)
self.install_seed(seed, dirname)
self.install_seed(seed, Shellwords.escape(dirname))

Choose a reason for hiding this comment

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

Redundant self detected.

Copy link
Owner

Choose a reason for hiding this comment

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

shutup

@devxoul
Copy link
Owner

devxoul commented Nov 5, 2015

Awesome, thanks!

devxoul added a commit that referenced this pull request Nov 5, 2015
Escape dirname for shell commands in install_seed
@devxoul devxoul merged commit eca751b into devxoul:master Nov 5, 2015
@devxoul
Copy link
Owner

devxoul commented Nov 5, 2015

This PR has been shipped with 0.5.2 release 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants