From 1161f5ff17990875d3b15ca34ac6f71bb4068788 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 26 Jan 2008 20:25:40 +0200 Subject: [PATCH] Remove old file processed from *.ad file before processing again Signed-off-by: Pekka Riikonen --- apps/autodist/autodist.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/autodist/autodist.in b/apps/autodist/autodist.in index 8d5c977..9f2c8c6 100755 --- a/apps/autodist/autodist.in +++ b/apps/autodist/autodist.in @@ -570,8 +570,10 @@ ad_process_ads() ad_debug "Processing $i to be $fname" ad_log " $i into $fname" + rm -f $fname + # Run the distribution processing for this file - ad_process_file $i $fname false + ad_process_file $orig $fname false if test '!' -f "$fname"; then cp -p $orig $fname || exit 1 -- 2.24.0