Escape spaces in $icon_path before eval #29

Merged
merged 1 commit into from Aug 29, 2012

Projects

None yet

2 participants

@joshdick

The path to my Git repositories has a space in it (starts with ~/Josh/Git Repos/), which was causing this error to happen:

/Users/Josh/.bin/git-dude/git-dude: line 78: Repos/example/path/to/icon.png: No such file or directory

This change fixes that issue by escaping spaces before the eval of icon_path.

@sickill sickill merged commit 22cbb4f into sickill:master Aug 29, 2012
@sickill
Owner

Thx!

@joshdick

You're welcome, glad I could contribute!

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