Skip to content

Commit

Permalink
dts-functions: don't store absolute path in log tar
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Iwanicki <[email protected]>
  • Loading branch information
m-iwanicki committed Dec 20, 2024
1 parent 965855f commit db1604c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dts-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ send_dts_logs() {
if [ -f ${FLASHROM_LOG_FILE} ]; then
cp ${FLASHROM_LOG_FILE} $log_dir
fi
tar czf "${log_dir}.tar.gz" $log_dir
tar czf "${log_dir}.tar.gz" -C "$(dirname "$log_dir")" $log_dir

FULL_DTS_URL="https://cloud.3mdeb.com/index.php/s/"${BASE_DTS_LOGS_URL}

Expand Down

0 comments on commit db1604c

Please sign in to comment.