Fix correct dir path to archive files 45/56745/1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 9 May 2017 20:47:17 +0000 (06:47 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 9 May 2017 20:47:17 +0000 (06:47 +1000)
Change-Id: I3c86e612a729e396371adc7756c66dea6b2f0ef9
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/autorelease/include-raw-autorelease-collect-sar.sh

index 43035391f6614bd029c629846cd17366f8a9e8fc..e5af468859caada047ddd6240a7bd72217f1c872 100644 (file)
@@ -9,10 +9,10 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-mkdir -p archives/
+mkdir -p archives/sar
 cp /var/log/sa/* $_
 # convert sar data to ascii format
 while IFS="" read -r s
 do
     [ -f "$s" ] && sar -A -f "$s" > archives/sar/sar${s//[!0-9]/}
-done < <(find /var/log/{sa,sysstat} -name "sa[0-9]*")
+done < <(find /var/log/sa -name "sa[0-9]*")