Don't log with -s option.
[autodist.git] / apps / autodist / autodist.in
index 2669347c95cd69ff8f99a3b585d692e0b02f88a9..8ecb68dddf499ad4aa54561aaf477752d84a8eb7 100755 (executable)
@@ -799,7 +799,7 @@ ad_dist_excludes()
   do
     ad_debug "Excluding $i"
     if test x$2 = xtrue; then
-      ad_log "  $1"
+      ad_log "  $i"
     fi
     rm -rf $i
   done
@@ -1831,11 +1831,10 @@ ad_run_dist_hooks()
 usage="Usage: autodist [options] [distribution] [version]"
 help="\
 Autodist prepares source tree for configuration, compilation and
-distribution.  Prepares the source tree from the \`autodist.ad'
-configuration file.  Generates Automake.am files from Automake.ad
-files, configure.ac file from configure.ad file(s), generates the
-configure script by running Autoconf tool, and generates Makefile.in
-files by running Automake tool.
+distribution.  Generates Automake.am files from Automake.ad files, 
+configure.ac file from configure.ad file(s), generates the configure 
+script by running Autoconf tool, and generates Makefile.in files by 
+running Automake tool.
 
 Operation modes:
   -h, --help                print this help, then exit
@@ -1872,6 +1871,7 @@ while test $# -gt 0; do
 
   -s | --distdefs)
     shift;
+    nolog=true
     if test $# -eq 0; then
       ad_parse_distribution $distribution false
       echo "Distribution: ${distribution}" 1>&2;