[hackers] [sbase] Makefile: stricter regex replace for sbase VERSION || Hiltjo Posthuma
commit 602306ccf6e69f5a269e347685ccea028fe0b0cd
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun Feb 1 16:33:46 2015 +0100
Makefile: stricter regex replace for sbase VERSION
diff --git a/Makefile b/Makefile
index 6066593..d6df4d6 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -168,7 +168,7 @@ install: all
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- for m in $(MAN); do sed "s/.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
+ for m in $(MAN); do sed "s/^\.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
uninstall:
Received on Sun Feb 01 2015 - 16:46:17 CET
This archive was generated by hypermail 2.3.0
: Sun Feb 01 2015 - 16:48:09 CET