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

Fixed: user defined scripts in debian overridden by generated files #97

Merged
merged 2 commits into from
Dec 4, 2013

Conversation

kardapoltsev
Copy link
Member

No description provided.

if (script exists) Seq(file(script getAbsolutePath) -> scriptName) else Seq.empty
// check if user defined script exists
case (_, dir) if (dir / scriptName).exists =>
Seq(file(dir / scriptName getAbsolutePath) -> scriptName)
Copy link
Member

Choose a reason for hiding this comment

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

post-fix notation is generally a bad idea. e.g. it's hard to tell what you're calling getAbsolutePath on here. I prefer to fully paranthesis, plus in scala 2.11 this may actually just become a compile error.

@jsuereth
Copy link
Member

jsuereth commented Dec 2, 2013

Besides on minor style comment, this looks great! I agree that things on disk should override the generated ones.

@jsuereth
Copy link
Member

jsuereth commented Dec 4, 2013

LGTM

jsuereth added a commit that referenced this pull request Dec 4, 2013
Fixed: user defined scripts in debian overridden by generated files
@jsuereth jsuereth merged commit fbbcd9a into sbt:master Dec 4, 2013
@kardapoltsev
Copy link
Member Author

Thanks again!

Regards, Alexey
On Dec 4, 2013 8:25 PM, "Josh Suereth" notifications@github.com wrote:

Merged #97 #97.


Reply to this email directly or view it on GitHubhttps://github.com//pull/97
.

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.

None yet

2 participants