зеркало из https://github.com/microsoft/spark.git
When a file is downloaded, make it executable. That's neccsary for scripts (e.g. in Shark)
This commit is contained in:
Родитель
098ae55db1
Коммит
ca64d16a2d
|
@ -163,6 +163,8 @@ object Utils extends Logging {
|
|||
logInfo("Untarring " + filename)
|
||||
Utils.execute(Seq("tar", "-xf", filename), targetDir)
|
||||
}
|
||||
// Make the file executable - That's necessary for scripts
|
||||
FileUtil.chmod(filename, "a+x")
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче