Skip to content
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

Let bash-template work when the directory contains spaces. #267

Merged
merged 1 commit into from
Jun 6, 2014
Merged

Let bash-template work when the directory contains spaces. #267

merged 1 commit into from
Jun 6, 2014

Conversation

darabos
Copy link
Contributor

@darabos darabos commented May 28, 2014

I think the important part is just the first two diffs. The rest may be unnecessary, but I think makes the behavior clearer.

I'd recommend renaming test-project to test project to cover this issue.

I think the important part is just the first two diffs. The rest may be unnecessary, but I think makes the behavior clearer.
}
addApp () {
dlog "[addApp] arg = '$1'"
app_commands=( "${app_commands[@]}" "$1" )
app_commands+=( "$1" )
Copy link
Member

Choose a reason for hiding this comment

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

Do you know which version of BASH this is supported in?

Copy link
Member

Choose a reason for hiding this comment

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

It could just be my ignorance :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, good question. From the Bash changelog it looks to me like it might have been added in 3.1. Is that old enough? Maybe.

Sorry about these mostly unrelated changes. I was trying to figure out why the space in -Duser.dir= was causing problems, and I was hoping these would help, but they did not. (I'm not very good with Bash.) In the end the fix was c132333 — your change, that I did not have.

Let me know if you would prefer these += diffs reverted!

@jsuereth
Copy link
Member

LGTM with one question. Let's see what travis says.

@muuki88
Copy link
Contributor

muuki88 commented May 29, 2014

LGTM, too. @jsuereth In a few weeks I will try to develope some docker images to build integration tests which run on travis ci and actually run all the bash scripts.

@muuki88 muuki88 added this to the 0.8.0 - windows services milestone Jun 4, 2014
muuki88 added a commit that referenced this pull request Jun 6, 2014
Let bash-template work when the directory contains spaces.
@muuki88 muuki88 merged commit a1d9600 into sbt:master Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants