Remove generated blank lines from legacy .sql file
They appear cause portability problems. Fixes issue #12.
This commit is contained in:
parent
57922b552c
commit
18f75951e2
@ -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' $< > $@;
|
||||
|
Loading…
x
Reference in New Issue
Block a user