File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ print() {
8282
8383ensureAppCreated () {
8484 path=$1
85- name=$( basename $ path)
85+ name=${ path}
8686 if [ -n " ${credId} " ]
8787 then
8888 cred="
@@ -156,7 +156,7 @@ findApps() {
156156uploadArtifact () {
157157 taskId=$1
158158 path=$2
159- artifact=$( basename $path )
159+ artifact=$( basename ${ path} )
160160 code=$( curl -kSs -w " %{http_code}" -F " file=@${path} " ${host} /tasks/${taskId} /bucket/${artifact} )
161161 if [ ! $? -eq 0 ]
162162 then
@@ -195,7 +195,7 @@ submitTask() {
195195createTask () {
196196 appId=$1
197197 path=$2
198- artifact=$( basename $path )
198+ artifact=$( basename ${ path} )
199199 d="
200200---
201201name: ${name}
@@ -260,7 +260,7 @@ analyzeApps() {
260260 done
261261 for p in $( find ${dirPath} -type f)
262262 do
263- name=$( basename $ {p})
263+ name=${p}
264264 r=${task[${name}]}
265265 t=($r )
266266 appId=${applications[${name}]}
@@ -316,7 +316,7 @@ report() {
316316 apps=()
317317 for p in $( find ${dirPath} -type f)
318318 do
319- name=$( basename $p )
319+ name=${p}
320320 apps+=(${name} )
321321 done
322322 for name in " ${apps[@]} "
You can’t perform that action at this time.
0 commit comments