Skip to content

Commit d452b41

Browse files
authored
Merge pull request #33 from redhat-performance/fix_upload
Make the uploads directory absolute.
2 parents 57a8901 + fde858e commit d452b41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

passmark/passmark_run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ run_passmark()
212212
pushd $curdir > /dev/null
213213
if [ ! -d "PerformanceTest" ]; then
214214
if [[ $arch == "aarch64" ]]; then
215-
unzip uploads/pt_linux_arm64.zip
215+
unzip /uploads/pt_linux_arm64.zip
216216
if [ $? -ne 0 ]; then
217217
exit_out "pt_linux_arm64.zip failed" 1
218218
fi
@@ -228,7 +228,7 @@ run_passmark()
228228
fi
229229
fi
230230
else
231-
unzip uploads/pt_linux_x64.zip
231+
unzip /uploads/pt_linux_x64.zip
232232
if [ $? -ne 0 ]; then
233233
exit_out "pt_linux_x64.zip failed" 1
234234
fi

0 commit comments

Comments
 (0)