encapsulate repo path var

This commit is contained in:
mollusk 2020-10-25 21:27:44 -07:00
parent f4149ccf2b
commit 2e0f83e4f5

View File

@ -106,10 +106,10 @@ sign_pkgs(){
gen_key gen_key
echo "Signing xbps files in ${REPO_PATH}" echo "Signing xbps files in ${REPO_PATH}"
xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "$REPO_PATH" xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "${REPO_PATH}"
else else
echo "Signing xbps files in ${REPO_PATH}" echo "Signing xbps files in ${REPO_PATH}"
xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "$REPO_PATH" xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "${REPO_PATH}"
fi fi
} }