svn commit: r1928110 - apr/site/trunk/docs/docs

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <175656750822.456249.10813464439678974515@svn02-us-east.apache.org>
Author: dsahlberg
Date: Sat Aug 30 15:25:08 2025
New Revision: 1928110

Log:
In site/trunk

Change script to account for files in subdirectories as well

* docs/docs/propagate-docs.sh
  As above

Modified:
   apr/site/trunk/docs/docs/propagate-docs.sh

Modified: apr/site/trunk/docs/docs/propagate-docs.sh
==============================================================================
--- apr/site/trunk/docs/docs/propagate-docs.sh	Sat Aug 30 15:17:52 2025	(r1928109)
+++ apr/site/trunk/docs/docs/propagate-docs.sh	Sat Aug 30 15:25:08 2025	(r1928110)
@@ -22,7 +22,7 @@ srcdir="$1"
 dstdir="$2"
 
 # figure out which files are unique (in the source or destination)
-unique="`((cd \"$srcdir\" && ls) && cd \"$dstdir\" && ls) | sort | uniq -u`"
+unique="`((cd \"$srcdir\" && find . -type f) && cd \"$dstdir\" && find . -type f) | sort | uniq -u`"
 if ! pushd $dstdir; then
   echo "Run this with bash or some other shell with pushd/popd!" 1>&2
   exit 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.