summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/roms
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/roms
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/roms')
-rwxr-xr-xresources/scripts/helpers/build/release/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index 14c05ad..c6c5c5c 100755
--- a/resources/scripts/helpers/build/release/roms
+++ b/resources/scripts/helpers/build/release/roms
@@ -66,7 +66,7 @@ for payload in *; do
# Create the compressed archive.
tar -c "${archivename}/" | xz -9e >"../../${romdir}/${payload}/${archivename}.tar.xz"
- rm -Rf "${archivename}/"
+ rm -Rf "${archivename:?}/"
printf ' OK\n'