use /home/label instead

This commit is contained in:
Louis Abel 2023-02-08 20:13:19 -07:00
parent ae81e4589f
commit b06fc19dfd
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ else
fi
if ! which compose-changelog > /dev/null 2>&1; then
if [ -f "/home/$(whoami)/.local/bin/compose-changelog" ]; then
CHANGELOG_CMD="/home/$(whoami)/.local/bin/compose-changelog"
if [ -f "$HOME/.local/bin/compose-changelog" ]; then
CHANGELOG_CMD="$HOME/.local/bin/compose-changelog"
else
CHANGELOG_CMD=""
fi