summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/roms
diff options
context:
space:
mode:
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'