Remove generated blank lines from legacy .sql file
They appear cause portability problems. Fixes issue #12.
This commit is contained in:
		| @ -43,10 +43,10 @@ LIBS := $(filter-out -lxslt, $(LIBS)) | |||||||
| LIBS := $(filter-out -lpam, $(LIBS)) | LIBS := $(filter-out -lpam, $(LIBS)) | ||||||
|  |  | ||||||
| pg_repack.sql: pg_repack.sql.in | pg_repack.sql: pg_repack.sql.in | ||||||
| 	echo "BEGIN;\n" > $@; \ | 	echo "BEGIN;" > $@; \ | ||||||
| 	sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< \ | 	sed 's,MODULE_PATHNAME,$$libdir/$(MODULE_big),g' $< \ | ||||||
| 	| sed 's,REPACK_VERSION,$(REPACK_VERSION),g' >> $@; \ | 	| sed 's,REPACK_VERSION,$(REPACK_VERSION),g' >> $@; \ | ||||||
| 	echo "\nCOMMIT;" >> $@; | 	echo "COMMIT;" >> $@; | ||||||
|  |  | ||||||
| pg_repack--$(REPACK_VERSION).sql: pg_repack.sql.in | pg_repack--$(REPACK_VERSION).sql: pg_repack.sql.in | ||||||
| 	sed 's,REPACK_VERSION,$(REPACK_VERSION),g' $< > $@; | 	sed 's,REPACK_VERSION,$(REPACK_VERSION),g' $< > $@; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user