File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
FIROOT=" /Volumes/src2/fink/selfupdate"
4
4
LOCKFILE=" /var/run/finkrsyncup.lock"
5
5
SSHUSER=" finkcvs"
6
+ CVSARGS=" "
6
7
7
8
usage () {
8
9
cat > " /dev/stderr" << EOF
11
12
exit
12
13
}
13
14
14
- while getopts " :l:o:u:h " OPTION; do
15
+ while getopts " :l:o:u:hq " OPTION; do
15
16
case " ${OPTION} " in
16
17
l)
17
18
LOCKFILE=${OPTARG}
@@ -22,6 +23,9 @@ while getopts ":l:o:u:h" OPTION; do
22
23
u)
23
24
SSHUSER=${OPTARG}
24
25
;;
26
+ q)
27
+ CVSARGS=" -q "
28
+ ;;
25
29
h | ? )
26
30
usage
27
31
;;
@@ -34,7 +38,7 @@ lockfile -r 0 "${LOCKFILE}" || exit 0
34
38
35
39
cd " ${FIROOT} "
36
40
37
- if /usr/bin/cvs -d :ext:${SSHUSER} @fink.cvs.sourceforge.net:/cvsroot/fink -z3 co -d finkinfo.tmp dists; then
41
+ if /usr/bin/cvs -d :ext:${SSHUSER} @fink.cvs.sourceforge.net:/cvsroot/fink ${CVSARGS} -z3 co -d finkinfo.tmp dists; then
38
42
if rsync -a --delete --exclude=.cvsignore --exclude=CVS " ${FIROOT} /finkinfo.tmp/" " ${FIROOT} /finkinfo/" ; then
39
43
echo " $( date -u +%s) " > " ${FIROOT} /finkinfo/TIMESTAMP" ;
40
44
fi ;
You can’t perform that action at this time.
0 commit comments