I have no idea what $modules is. I must've meant $subtrees.
This commit is contained in:
parent
ed8b4163c5
commit
a8819e7a2d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10461
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue