From 71daf1fb0e5a9aeda4bcb2aca8b4e2c8ebc11775 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 15 Feb 2018 20:25:29 +0100 Subject: Backup file ending with ~ is also deleted in configure Some editors put a copy of their input file into another file ending with `~' (for backup). So now, the `./configure' script also cleans this file along with the temporary file. --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index e1baae0..4f13523 100755 --- a/configure +++ b/configure @@ -142,10 +142,11 @@ echo "minmapsize $mm" >> $gconf -# Make the final file that will be used. +# Make the final file that will be used and delete the temporary file along +# with a possible file ending with `~' that is put there by some editors. add_top_notice $pconf cat $ptconf >> $pconf -rm $ptconf +rm -f $ptconf $ptconf"~" -- cgit v1.2.1