projects
/
autodist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c255f0
)
Remove old file processed from *.ad file before processing again
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 26 Jan 2008 18:25:40 +0000
(20:25 +0200)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 26 Jan 2008 18:25:40 +0000
(20:25 +0200)
Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
apps/autodist/autodist.in
patch
|
blob
|
history
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"
+ 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