From 277630019f870e171a93caf16a9ef0a927cca790 Mon Sep 17 00:00:00 2001 From: John Reese Date: Mon, 21 Sep 2015 12:57:16 -0700 Subject: [PATCH] Fix makefile/sed -i --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 447ac06..588d11c 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ else endif push.so: push.cpp - sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp + sed -i "" -e "s|PUSHVERSION \".*\"|PUSHVERSION \"$(version)\"|" push.cpp CXXFLAGS="$(CXXFLAGS) $(flags)" LIBS="$(LIBS) $(flags)" znc-buildmod push.cpp - sed -i -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp + sed -i "" -e "s|PUSHVERSION \".*\"|PUSHVERSION \"dev\"|" push.cpp install: push.so mkdir -p $(HOME)/.znc/modules/