X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fscrape-job-cost.sh;h=e940bc6a59b4bc868b9baba8487c66c8af408e8f;hb=04547fcca5cabd3d9ad24fced4a0cf268d789296;hp=7a753a511706a2a66c49c1e7f5f8bcae9931d34d;hpb=3ca80e4b7818ebe309abc3ddcabe7086f1ed2d18;p=releng%2Fglobal-jjb.git diff --git a/shell/scrape-job-cost.sh b/shell/scrape-job-cost.sh index 7a753a51..e940bc6a 100755 --- a/shell/scrape-job-cost.sh +++ b/shell/scrape-job-cost.sh @@ -44,8 +44,7 @@ $debug && echo "DEBUG Enabled" set -eufo pipefail -function get-year-list() -{ +get-year-list () { # Grab the years for each cost record use sort | uniq to get the # list of unique years found local list @@ -75,7 +74,7 @@ cost_dir=~/cost # The Silo Directory for sandbox will get deleted periodically, so # gracefully handle that if [[ -d $silo_dir ]]; then - cd "$silo_dir" + cd "$silo_dir" else echo "$(date +'%Y-%m-%d %H:%M') No Silo Directory, nothing to do" exit 0