fix curl input file var
This commit is contained in:
parent
37c500cf6d
commit
e1e1ab29a9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ cleanup() {
|
||||||
vodname=$(basename "$file")
|
vodname=$(basename "$file")
|
||||||
vod="$REC_PATH/$vodname"
|
vod="$REC_PATH/$vodname"
|
||||||
echo "] Uploading VOD $vod to ${vod_output} ..."
|
echo "] Uploading VOD $vod to ${vod_output} ..."
|
||||||
curl -i -X POST -H "Authorization: Bearer ${vod_token}" -F "file=@rec/${vod}" ${vod_output}
|
curl -i -X POST -H "Authorization: Bearer ${vod_token}" -F "file=@${vod}" ${vod_output}
|
||||||
done
|
done
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue