Makefile: use | instead of / in sed to prevent fail when the branch has a / in its name

This commit is contained in:
Juan David Hurtado G
2025-10-01 09:51:05 -05:00
parent a84f4f8c5b
commit 4a2a515ab8

View File

@@ -11,7 +11,7 @@ install:
@echo
@echo "Updating Bastille version to match git revision."
@echo "BASTILLE_VERSION: ${BASTILLE_DEV_VERSION}"
@sed -i '' "s/BASTILLE_VERSION=.*$/BASTILLE_VERSION=${BASTILLE_DEV_VERSION}/" usr/local/bin/bastille
@sed -i '' "s|BASTILLE_VERSION=.*|BASTILLE_VERSION=${BASTILLE_DEV_VERSION}|" usr/local/bin/bastille
@cp -Rv usr /
@gzip -f -n /usr/local/share/man/man8/bastille.8
@echo