103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
-
+
|
if [ ! -d ${tmpdir} ]; then
error "cannot create temporary directory"
fi
# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt export -D now mttroot/mtt
cvs -z3 -d:pserver:anonymous@mtt.cvs.sf.net:/cvsroot/mtt export -D now mttroot/mtt
else
mkdir -p ./mttroot
cp -a ${sources}/mtt ./mttroot/mtt
for dir in $(find . -type d -name CVS); do
rm -r $dir
done
fi
|