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

View File

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