You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2016/02/18 16:45:40 UTC
airavata git commit: fixing AIRAVATA-1892
Repository: airavata
Updated Branches:
refs/heads/develop 2c2d63d04 -> fa6b4d8e2
fixing AIRAVATA-1892
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/fa6b4d8e
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/fa6b4d8e
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/fa6b4d8e
Branch: refs/heads/develop
Commit: fa6b4d8e2d2ed000c2fa3bc64045b5b7c8dcc71c
Parents: 2c2d63d
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Thu Feb 18 10:48:07 2016 -0500
Committer: Chathuri Wimalasena <ch...@apache.org>
Committed: Thu Feb 18 10:48:07 2016 -0500
----------------------------------------------------------------------
.../src/main/java/org/apache/airavata/gfac/core/GFacUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/fa6b4d8e/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index 0a2d207..3a59fc5 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -780,7 +780,7 @@ public class GFacUtils {
int number = new SecureRandom().nextInt();
number = (number < 0 ? -number : number);
- tempJobFile = new File(GFacUtils.getLocalDataDir(taskContext), Integer.toString(number) +
+ tempJobFile = new File(GFacUtils.getLocalDataDir(taskContext), "job_" + Integer.toString(number) +
jobManagerConfiguration.getScriptExtension());
FileUtils.writeStringToFile(tempJobFile, scriptContent);
return tempJobFile;