mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
* admin/emacs-shell-lib: Backport to Bash 4.4 or older.
This commit is contained in:
parent
ce85d3811d
commit
f3e80dd0f7
@ -49,6 +49,9 @@ emacs_tempfiles=()
|
||||
|
||||
emacs_tempfiles_cleanup ()
|
||||
{
|
||||
# This is needed on Bash 4.4 or older.
|
||||
[ ${#emacs_tempfiles[@]} -eq 0 ] && return
|
||||
|
||||
for file in ${emacs_tempfiles[@]}; do
|
||||
rm -f "${file}" 2> /dev/null
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user