From c0c6dfb014688d43471ff4a0fd2aa01056411c2f Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Thu, 7 Mar 2024 06:01:39 -0800 Subject: [PATCH] checkpoint Signed-off-by: Jeff Ortel --- hack/bra/analysis.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hack/bra/analysis.sh b/hack/bra/analysis.sh index 1e1b3aa..57ce325 100755 --- a/hack/bra/analysis.sh +++ b/hack/bra/analysis.sh @@ -82,7 +82,7 @@ print() { ensureAppCreated() { path=$1 - name=$(basename $path) + name=${path} if [ -n "${credId}" ] then cred=" @@ -156,7 +156,7 @@ findApps() { uploadArtifact() { taskId=$1 path=$2 - artifact=$(basename $path) + artifact=$(basename ${path}) code=$(curl -kSs -w "%{http_code}" -F "file=@${path}" ${host}/tasks/${taskId}/bucket/${artifact}) if [ ! $? -eq 0 ] then @@ -195,7 +195,7 @@ submitTask() { createTask() { appId=$1 path=$2 - artifact=$(basename $path) + artifact=$(basename ${path}) d=" --- name: ${name} @@ -260,7 +260,7 @@ analyzeApps() { done for p in $(find ${dirPath} -type f) do - name=$(basename ${p}) + name=${p} r=${task[${name}]} t=($r) appId=${applications[${name}]} @@ -316,7 +316,7 @@ report() { apps=() for p in $(find ${dirPath} -type f) do - name=$(basename $p) + name=${p} apps+=(${name}) done for name in "${apps[@]}"