release.sh: bugfix: take docs from tmpdir, not startdir
This commit is contained in:
parent
5a20394092
commit
c493cde96e
@ -163,7 +163,7 @@ git commit -a -m "save docs for ${PREVIOUS_VERSION}"
|
||||
for i in $(find _docs -maxdepth 1 -and -type f -and \! -regex ".*\.\(html\|man\)$" -and \! -name "Makefile")
|
||||
do
|
||||
base="$(basename $i)"
|
||||
[ -e "${STARTDIR}/docs/${base}" ] && cp "${STARTDIR}/docs/${base}" "_docs/${base}"
|
||||
[ -e "${TMPDIR}/i3/docs/${base}" ] && cp "${TMPDIR}/i3/docs/${base}" "_docs/${base}"
|
||||
done
|
||||
|
||||
(cd _docs && make)
|
||||
@ -171,7 +171,7 @@ done
|
||||
for i in $(find _docs -maxdepth 1 -and -type f -and \! -regex ".*\.\(html\|man\)$" -and \! -name "Makefile")
|
||||
do
|
||||
base="$(basename $i)"
|
||||
[ -e "${STARTDIR}/docs/${base}" ] && cp "_docs/${base}.html" docs/
|
||||
[ -e "${TMPDIR}/i3/docs/${base}" ] && cp "_docs/${base}.html" docs/
|
||||
done
|
||||
|
||||
git commit -a -m "update docs for ${RELEASE_VERSION}"
|
||||
|
Loading…
Reference in New Issue
Block a user