From c493cde96e1c9629d36f40813e44be1fa279cd60 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 30 Jul 2015 22:21:48 +0200 Subject: [PATCH] release.sh: bugfix: take docs from tmpdir, not startdir --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" -- 2.39.2