Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13612#discussion_r66696649
--- Diff: project/SparkBuild.scala ---
@@ -458,7 +458,7 @@ object Core {
resourceGenerators in Compile += Def.task {
val buildScript = baseDirectory.value + "/../build/spark-build-info"
val targetDir = baseDirectory.value + "/target/extra-resources/"
- val command = buildScript + " " + targetDir + " " + version.value
+ val command = "bash " + buildScript + " " + targetDir + " " +
version.value
--- End diff --
Since you're here, could you change this to use a `Seq` instead of a
concatenated string for the command? Concatenating strings doesn't gel very
well with spaces.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]