From a57f26f2c62805b9e61719361ca17ccf53c897ad Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 04:47:29 +0100 Subject: all scripts: general fixes and clean up --- resources/scripts/helpers/build/release/docs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/scripts/helpers/build/release/docs') diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs index 38a09993..54faac53 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}" -- cgit v1.2.3-70-g09d2