Skip to content

Commit 18f7595

Browse files
committed
Remove generated blank lines from legacy .sql file
They appear cause portability problems. Fixes issue #12.
1 parent 57922b5 commit 18f7595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ LIBS := $(filter-out -lxslt, $(LIBS))
4343
LIBS := $(filter-out -lpam, $(LIBS))
4444

4545
pg_repack.sql: pg_repack.sql.in
46-
echo "BEGIN;\n" > $@; \
46+
echo "BEGIN;" > $@; \
4747
sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< \
4848
| sed 's,REPACK_VERSION,$(REPACK_VERSION),g' >> $@; \
49-
echo "\nCOMMIT;" >> $@;
49+
echo "COMMIT;" >> $@;
5050

5151
pg_repack--$(REPACK_VERSION).sql: pg_repack.sql.in
5252
sed 's,REPACK_VERSION,$(REPACK_VERSION),g' $< > $@;

0 commit comments

Comments
 (0)