Statistics
| Revision:

root / tmp / org.txm.setups / getSharedFiles.sh @ 1803

History | View | Annotate | Download (647 Bytes)

1 728 mdecorde
TOOLBOXDIRECTORY="$HOME/workspace079/org.txm.toolbox"
2 736 mdecorde
SVNDIR="$HOME/SVN/TXMSVN/trunk"
3 736 mdecorde
SVNDOCTRUNK="$SVNDIR/doc"
4 728 mdecorde
SHARED="./shared"
5 728 mdecorde
SHAREDALL="$SHARED/all"
6 728 mdecorde
7 736 mdecorde
8 736 mdecorde
svn update "${SVNDIR}"
9 736 mdecorde
10 735 mdecorde
# copy TXM sample corpora files files
11 735 mdecorde
mkdir  "$SHAREDALL/samples"
12 736 mdecorde
cp -rf "${SVNDIR}/corpora/tdm80j" "$SHAREDALL/samples/tdm80j"
13 728 mdecorde
if [ $? != 0 ]; then
14 736 mdecorde
	echo "** TXM sample corpora copy failed"
15 728 mdecorde
	exit 1;
16 728 mdecorde
fi
17 728 mdecorde
18 728 mdecorde
# copy TXM documentation files files
19 735 mdecorde
mkdir "$SHAREDALL/doc"
20 728 mdecorde
cp -f "${SVNDOCTRUNK}/user manuals/txm-manual-fr.pdf" "$SHAREDALL/doc/Manuel de TXM 0.7 FR.pdf"
21 728 mdecorde
if [ $? != 0 ]; then
22 728 mdecorde
	echo "** TXM REFMAN copy failed"
23 728 mdecorde
	exit 1;
24 728 mdecorde
fi
25 728 mdecorde
26 728 mdecorde
echo "** Shared files copy: success !"