The lower case version does not work in a Turkish locale. The upper case
version is what the bash docs actually mention and is what bash actually
checks against using strcasecmp().
modify_wim=yes
fi
check_needed_programs
-trap cleanup exit
+trap cleanup EXIT
if [ $make != wim ]; then
mkdir -p "$tmp_dir"/{boot,sources}
msg "TEST FAILED (See above)"
}
-trap fail exit
+trap fail EXIT
prepare_empty_wim() {
rm -rf in.dir
echo "**********************************************************"
echo " wimupdate/extract tests passed "
echo "**********************************************************"
-trap exit
+trap EXIT
cd ..
default_cleanup