mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-24 09:52:47 +01:00
Makefile: use | instead of / in sed to prevent fail when the branch has a / in its name
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user