File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,12 @@ dist-common: clean
138
138
@if [ -n " ` git ls-files --exclude-standard --others` " ]; then echo >&2 " WARNING: git working tree has unstaged files which were IGNORED!" ; fi
139
139
@echo $(GITHASH ) > .distgitrev
140
140
@git name-rev --tags --name-only ` cat .distgitrev` > .distgittag
141
- @git ls-tree -r -t --full-tree HEAD --name-only | \
142
- tar cjf " ${distdir} .tar.bz2" --transform=" s|^|${distdir} /|" -T - \
143
- .distgitrev .distgittag
141
+ @ (git ls-tree -r -t --full-tree HEAD --name-only \
142
+ && cd pglogical_dump\
143
+ && git ls-tree -r -t --full-tree HEAD --name-only | sed ' s/^/pglogical_dump\//' \
144
+ ) | \
145
+ tar cjf " ${distdir} .tar.bz2" --transform=" s|^|${distdir} /|" --no-recursion \
146
+ -T - .distgitrev .distgittag
144
147
@echo >&2 " Prepared ${distdir} .tar.bz2 for rev=` cat .distgitrev` , tag=` cat .distgittag` "
145
148
@rm -f .distgitrev .distgittag
146
149
@md5sum " ${distdir} .tar.bz2" > " ${distdir} .tar.bz2.md5"
You can’t perform that action at this time.
0 commit comments