I have no idea what $modules is. I must've meant $subtrees.

This commit is contained in:
Dima Dorfman 2001-08-24 02:09:39 +00:00
parent ed8b4163c5
commit a8819e7a2d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10461

View file

@ -30,7 +30,7 @@
# 2 - failure in CVS operations
# 3 - failure in make operations
#
# $FreeBSD: www/tools/webupdate,v 1.2 2001/06/14 04:13:24 dd Exp $
# $FreeBSD: www/tools/webupdate,v 1.3 2001/06/14 04:59:13 dd Exp $
#
#
@ -81,7 +81,7 @@ cond="X`date '+%u'` = X7 `echo $subtrees | sed -E 's/([^ ]*)/-o ! -d \1/g'`";
if [ $cond ]; then
# Remove the old copies.
rm -Rf $subtrees 2>/dev/null;
chflags -R noschg $modules 2>/dev/null;
chflags -R noschg $subtrees 2>/dev/null;
rm -Rf $subtrees 2>/dev/null;
# Check out the new copies. This creates all the $subtrees.