Minor fix the CHO graph generator

Change-Id: I856c97960ccec72cc7398c7e297631268ab51b76
diff --git a/TestON/JenkinsFile/CHO_Graph_Generator b/TestON/JenkinsFile/CHO_Graph_Generator
index 33c5f9f..2811a48 100644
--- a/TestON/JenkinsFile/CHO_Graph_Generator
+++ b/TestON/JenkinsFile/CHO_Graph_Generator
@@ -21,8 +21,8 @@
     graphScript = ''''''
     for( branch in branchList ){
         branchDir = scriptDir + branch + "/"
-        graphScript += '''EXPORT BRANCH=''' + branchDir + '''
-                          mkdir branchDir;
+        graphScript += '''export BRANCH=''' + branchDir + '''
+                          mkdir ''' + branchDir + ''';
                           bash log-summary;''' + '''
                           ''' +  script_file + ' ' + branchDir + 'event.csv ' +
                                 branchDir + 'failure.csv ' + branchDir + 'error.csv ' +
@@ -37,7 +37,8 @@
           set -i
           set +e
           export PYTHONPATH=/home/sdn/TestON:/home/sdn/sts
-       ''' + graphScript
+          cd ''' + scriptDir + ''';
+          ''' + graphScript
 }
 def postJob(){
         jobToRun = "postjob-Fabric5"