summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/docs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 23:47:29 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 23:47:29 (EDT)
commita57f26f2c62805b9e61719361ca17ccf53c897ad (patch)
tree31777747249a8b538fa6f1bbbec39b131be59044 /resources/scripts/helpers/build/release/docs
parent8c07c380121cdab4efd50cff453875903b8c67ef (diff)
downloadlibreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.zip
libreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.tar.gz
libreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.tar.bz2
all scripts: general fixes and clean up
Diffstat (limited to 'resources/scripts/helpers/build/release/docs')
-rwxr-xr-xresources/scripts/helpers/build/release/docs4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs
index 38a0999..54faac5 100755
--- a/resources/scripts/helpers/build/release/docs
+++ b/resources/scripts/helpers/build/release/docs
@@ -40,7 +40,7 @@ distdir="${versiondir}/${distname}"
printf 'Deleting old documentation release archives\n'
rm -f "${distdir}.tar.xz"
-rm -Rf "${distdir}/"
+rm -Rf "${distdir:?}/"
mkdir -p "${distdir}/"
cp -r docs/* "${distdir}/"
@@ -50,6 +50,6 @@ printf '%s\n' "${version}" >"${distdir}/version"
printf 'Creating compressed documentation archive at %s\n' "${distdir}.tar.xz"
(cd "${versiondir}/" && tar -c "${distname}/" | xz -9e >"${distname}.tar.xz")
-rm -Rf "${distdir}/"
+rm -Rf "${distdir:?}/"
printf 'Documentation release archive is stored in %s/\n' "${versiondir}"