Skip to content

Commit 3bc483e

Browse files
committed
Fix heaptrack path
1 parent 57568d6 commit 3bc483e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

heaptrack.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ then
5858
log "applied patches: $git_patches"
5959
fi
6060

61+
heaptrack_filename="$(basename "$heaptrack_logpath")"
6162
log "created heaptrack report at $heaptrack_logpath"
6263
log "you can inspect it using this command:"
6364
echo ""
@@ -67,8 +68,8 @@ log "or publish it via http and download locally to inspect with heaptrack gui v
6768
echo ""
6869
echo " ${WHITE}cp ${heaptrack_logpath}.zst /var/www/html/tmp/${RESET}"
6970
echo ""
70-
log "then click here to download https://zillyhuhn.com/tmp/${heaptrack_logpath}.zst"
71+
log "then click here to download https://zillyhuhn.com/tmp/${heaptrack_filename}.zst"
7172
log "after downloading clean it up using this command:"
7273
echo ""
73-
echo " ${WHITE}rm /var/www/html/tmp/${heaptrack_logpath}.zst${RESET}"
74+
echo " ${WHITE}rm /var/www/html/tmp/${heaptrack_filename}.zst${RESET}"
7475
echo ""

0 commit comments

Comments
 (0)