mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-09-02 09:45:31 +00:00
* admin/emacs-shell-lib: Backport to Bash 4.4 or older.
This commit is contained in:
parent
ce85d3811d
commit
f3e80dd0f7
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue