summaryrefslogtreecommitdiff
path: root/ubuntu/scripts/gator-data-streaming-ubuntu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/scripts/gator-data-streaming-ubuntu.sh')
-rwxr-xr-xubuntu/scripts/gator-data-streaming-ubuntu.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/scripts/gator-data-streaming-ubuntu.sh b/ubuntu/scripts/gator-data-streaming-ubuntu.sh
index 913a727..542b925 100755
--- a/ubuntu/scripts/gator-data-streaming-ubuntu.sh
+++ b/ubuntu/scripts/gator-data-streaming-ubuntu.sh
@@ -22,9 +22,12 @@
. include/sh-test-lib
+# Creating a new directory called gator_files under tmp so that it can be uniformly used for both Ubuntu and OE instead of using root for session.xml file
+mkdir -p /tmp/gator_files
+
# Location of XML template and data streaming result folder
-xml_template="/root/session.xml"
-data_streaming_result="/root/linaro-ubuntu-gator-data-streaming.apc"
+xml_template="/tmp/gator_files/session.xml"
+data_streaming_result="/tmp/gator_files/linaro-ubuntu-gator-data-streaming.apc"
# Create sample XML file as a template
echo "<?xml version=\"1.0\" encoding=\"US-ASCII\" ?> " > $xml_template