diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 04:47:29 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-30 04:47:29 +0100 |
commit | a57f26f2c62805b9e61719361ca17ccf53c897ad (patch) | |
tree | 31777747249a8b538fa6f1bbbec39b131be59044 /resources/scripts/helpers/build/release/src | |
parent | 8c07c380121cdab4efd50cff453875903b8c67ef (diff) | |
download | librebootfr-a57f26f2c62805b9e61719361ca17ccf53c897ad.tar.gz librebootfr-a57f26f2c62805b9e61719361ca17ccf53c897ad.zip |
all scripts: general fixes and clean up
Diffstat (limited to 'resources/scripts/helpers/build/release/src')
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index 60356e8d..6d9f666c 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -38,7 +38,7 @@ distdir="${versiondir}/${distname}" printf 'Deleting old source release archives\n' rm -f "${distdir}.tar.xz" -rm -Rf "${distdir}/" +rm -Rf "${distdir:?}/" mkdir -p "${distdir}/" @@ -77,7 +77,6 @@ rm -Rf "${distdir}/resources/utilities/coreboot-libre/" # in the src release archive rm -f "${distdir}/download" rm -Rf "${distdir}/resources/scripts/helpers/download/" -rm -Rf "${distdir}/resources/scripts/helpers/sha512sums/" # The release archive for _src does not include docs, so it # is nonsense to include the script for it there @@ -102,6 +101,6 @@ rm -f "${distdir}/resources/utilities/grub-assemble/grub_vesafb.elf" printf 'Creating %s.tar.xz\n' "${distdir}" (cd "${versiondir}/" && tar -c "${distname}/" | xz -9e >"${distname}.tar.xz") -rm -Rf "${distdir}/" +rm -Rf "${distdir:?}/" printf 'Source release archive is stored in %s/\n' "${versiondir}" |