summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Chen <chying@google.com>2015-09-18 00:00:17 -0700
committerYing Chen <chying@google.com>2015-09-18 00:00:17 -0700
commit5e63f0d274d424bf9ed44607444c3d714130311a (patch)
tree9c23527576531525adf408956fe575b12c0b0783
parent9cb222f09252337b8cfa8dd47a93c18b25ed050a (diff)
downloadlldb-utils-studio-1.4-dev.tar.gz
Fix string match with wildcard, and use correct path to archive log filestudio-1.4-dev
Change-Id: I7de0055b11016e2131f40a5f2c400f9591ee96e2
-rwxr-xr-xbuildbotScripts/bashShell/svntotbuild/test.sh2
-rw-r--r--buildbotScripts/windowsBatch/svntotbuild/uploadTestTrace.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/buildbotScripts/bashShell/svntotbuild/test.sh b/buildbotScripts/bashShell/svntotbuild/test.sh
index 3c59915..0e8e9dc 100755
--- a/buildbotScripts/bashShell/svntotbuild/test.sh
+++ b/buildbotScripts/bashShell/svntotbuild/test.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
source setEnv.sh
-if [ $1 == local* ]
+if [[ $1 == local* ]];
then
source localTest.sh $1
else
diff --git a/buildbotScripts/windowsBatch/svntotbuild/uploadTestTrace.bat b/buildbotScripts/windowsBatch/svntotbuild/uploadTestTrace.bat
index cb02ce7..8adb3d3 100644
--- a/buildbotScripts/windowsBatch/svntotbuild/uploadTestTrace.bat
+++ b/buildbotScripts/windowsBatch/svntotbuild/uploadTestTrace.bat
@@ -1,7 +1,7 @@
@echo off
SET gstrace=gs://lldb_test_traces
-call zip -r build-%1 logs-* || goto :error
+call zip -r build-%1 c:\logs\logs-* || goto :error
call gsutil cp build-%1.zip %gstrace%/%2/ || goto :error
call rm build-%1.zip
call rm -rf c:\logs\logs-*