File tree 1 file changed +32
-12
lines changed 1 file changed +32
-12
lines changed Original file line number Diff line number Diff line change @@ -42,23 +42,43 @@ if [ "$1" = "-v" ] ; then
42
42
VERBOSE=" -v"
43
43
shift
44
44
fi
45
-
45
+ fns=" "
46
+ while [ -n " $1 " ]; do
47
+ fns=" $fns $1 "
48
+ shift
49
+ done
46
50
47
51
for r in ${REMOTE} ; do
48
52
if [ " x${VERBOSE} " = x-v ] ; then
49
53
echo " updating remote site ${r} ..."
50
54
fi
51
- RSYNC_RSH=ssh rsync ${NOPT} ${VERBOSE} -C ${RSYNCOPTS} -ruptl \
52
- --exclude=cm3 \
53
- --exclude=PkgTags \
54
- --exclude=tmp \
55
- --exclude=\* ~ \
56
- --exclude=\* .flc \
57
- --exclude=www-install.sh \
58
- --exclude=ship-cm3-www \
59
- --exclude=ship-cm3-testing \
60
- --exclude=doc/help/reactor \
61
- * ${r}
55
+ if [ -z " $fns " ]; then
56
+ RSYNC_RSH=ssh rsync ${NOPT} ${VERBOSE} -C ${RSYNCOPTS} -ruptl \
57
+ --exclude=cm3 \
58
+ --exclude=PkgTags \
59
+ --exclude=tmp \
60
+ --exclude=\* ~ \
61
+ --exclude=\* .flc \
62
+ --exclude=www-install.sh \
63
+ --exclude=ship-cm3-www \
64
+ --exclude=ship-cm3-testing \
65
+ --exclude=uploaded-archives \
66
+ * ${r}
67
+ else
68
+ for f in $fns ; do
69
+ RSYNC_RSH=ssh rsync ${NOPT} ${VERBOSE} -C ${RSYNCOPTS} -uptl \
70
+ --exclude=cm3 \
71
+ --exclude=PkgTags \
72
+ --exclude=tmp \
73
+ --exclude=\* ~ \
74
+ --exclude=\* .flc \
75
+ --exclude=www-install.sh \
76
+ --exclude=ship-cm3-www \
77
+ --exclude=ship-cm3-testing \
78
+ --exclude=uploaded-archives \
79
+ ${f} /* ${r} /${f}
80
+ done
81
+ fi
62
82
done
63
83
64
84
# --exclude=doc/src_reports/*.ps* \
You can’t perform that action at this time.
0 commit comments