FileCleanUp list is an array

This commit is contained in:
clinton-hall 2012-12-17 16:41:52 -08:00
commit ce647158b1

View file

@ -343,8 +343,8 @@ fi
# Clean up
echo "[INFO] Post-Process: Cleaning up"
chmod -R a+rw .
# Clean up list, space seperated from GUI
rm $FileCleanUp >/dev/null 2>&1
# Clean up list, space seperated array from GUI
for item in ${FileCleanUp[*]} ; do rm $item >/dev/null 2>&1 ; done
# Removed by default
rm _brokenlog.txt >/dev/null 2>&1
if [ "$Unrared" -eq 1 ]; then