From 18f75951e284d8663911041e690f02b765ff1016 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 5 Nov 2013 01:57:41 +0000 Subject: [PATCH] Remove generated blank lines from legacy .sql file They appear cause portability problems. Fixes issue #12. --- lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 3d817ac..2aa872d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -43,10 +43,10 @@ LIBS := $(filter-out -lxslt, $(LIBS)) LIBS := $(filter-out -lpam, $(LIBS)) pg_repack.sql: pg_repack.sql.in - echo "BEGIN;\n" > $@; \ + echo "BEGIN;" > $@; \ sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< \ | sed 's,REPACK_VERSION,$(REPACK_VERSION),g' >> $@; \ - echo "\nCOMMIT;" >> $@; + echo "COMMIT;" >> $@; pg_repack--$(REPACK_VERSION).sql: pg_repack.sql.in sed 's,REPACK_VERSION,$(REPACK_VERSION),g' $< > $@;