From: Michael Stapelberg Date: Thu, 30 Jul 2015 20:21:48 +0000 (+0200) Subject: release.sh: bugfix: take docs from tmpdir, not startdir X-Git-Tag: 4.11~68 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c493cde96e1c9629d36f40813e44be1fa279cd60;p=i3%2Fi3 release.sh: bugfix: take docs from tmpdir, not startdir --- diff --git a/release.sh b/release.sh index 6e305464..c7488726 100755 --- a/release.sh +++ b/release.sh @@ -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}"