Mercurial > vim
diff runtime/tools/vimspell.sh @ 1698:f4f8014d516e v7.2c.000
updated for version 7.2c-000
author | vimboss |
---|---|
date | Wed, 06 Aug 2008 17:06:04 +0000 |
parents | 78423945b251 |
children |
line wrap: on
line diff
--- a/runtime/tools/vimspell.sh +++ b/runtime/tools/vimspell.sh @@ -11,6 +11,7 @@ # # Neil Schemenauer <nascheme@ucalgary.ca> # March 1999 +# updated 2008 Jul 17 by Bram # # Safe method for the temp file by Javier Fernández-Sanguino_Peña @@ -22,7 +23,7 @@ OUTFILE=`mktemp -t vimspellXXXXXX || tem # create a file in the safest way possible. if test "$OUTFILE" = none; then OUTFILE=$tmp/vimspell$$ - [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!; exit 1 ; } + [ -e $OUTFILE ] && { echo "Cannot use temporary file $OUTFILE, it already exists!"; exit 1 ; } (umask 077; touch $OUTFILE) fi # Note the copy of vimspell cannot be deleted on exit since it is