projects
/
autodist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old file processed from *.ad file before processing again
[autodist.git]
/
apps
/
autodist
/
autodist.in
diff --git
a/apps/autodist/autodist.in
b/apps/autodist/autodist.in
index 8d5c97737d8f7f2310435496413970b4ac01fc56..9f2c8c6a7a9d31f10a13f351b2fd8cd4ef119c5b 100755
(executable)
--- 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"
ad_debug "Processing $i to be $fname"
ad_log " $i into $fname"
+ rm -f $fname
+
# Run the distribution processing for this file
# 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
if test '!' -f "$fname"; then
cp -p $orig $fname || exit 1