Skip to content

Quote cd argument in shell script to prevent word splitting#136

Open
gkapetanakis wants to merge 1 commit into
ClouGence:masterfrom
gkapetanakis:master
Open

Quote cd argument in shell script to prevent word splitting#136
gkapetanakis wants to merge 1 commit into
ClouGence:masterfrom
gkapetanakis:master

Conversation

@gkapetanakis
Copy link
Copy Markdown

The APP_HOME variable seems to be user-set and can contain whitespace (especially on cygwin). It is used quoted everywhere else in the script besides a cd invocation. Whitespace could cause that invocation to fail and affect the rest of the script. This PR simply quotes the variable in the invocation.

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.

1 participant