X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=blobdiff_plain;f=apps%2Fautodist%2Fautodist.in;fp=apps%2Fautodist%2Fautodist.in;h=e3b67b7ab99f1de45ce67145c682c9549283b7de;hp=3154d5ffaceb7afe0fbbb83c097bed4caa240fdf;hb=a77fd4e339890ccf8c7da9d2e70327312bb837ef;hpb=89b8ff8781d39c9d2c9a0172dccec8f9aca0d621 diff --git a/apps/autodist/autodist.in b/apps/autodist/autodist.in index 3154d5f..e3b67b7 100755 --- a/apps/autodist/autodist.in +++ b/apps/autodist/autodist.in @@ -571,16 +571,11 @@ ad_process_ads() ad_log " $i into $fname" # Run the distribution processing for this file - ad_process_file $i $fname.tmp false + ad_process_file $i $fname false - # Remove any trailing backslashes - if test -f "$fname.tmp"; then - sed -e :a -e '/\\$/N; s/[ ]*\\\n//; ta' < $fname.tmp > $fname - else + if test '!' -f "$fname"; then cp -p $orig $fname || exit 1 fi - - rm -f $fname.tmp done ad_log ""