Statistics
| Revision:

root / tmp / trunk / org.txm.setups / getSharedFiles.sh @ 735

History | View | Annotate | Download (671 Bytes)

1
TOOLBOXDIRECTORY="$HOME/workspace079/org.txm.toolbox"
2
SVNDIR="$HOME/SVN"
3
SVNDOCTRUNK="$SVNDIR/TXMSVN/trunk/doc"
4
SHARED="./shared"
5
SHAREDALL="$SHARED/all"
6
SCRIPTCOPYDIR="$SHAREDALL/scripts"
7

    
8
# copy TXM sample corpora files files
9
svn update "${SVNDIR}"
10
mkdir  "$SHAREDALL/samples"
11
cp -f "${SVNDIR}/corpora/tdm80j" "$SHAREDALL/samples/tdm80j"
12
if [ $? != 0 ]; then
13
	echo "** TXM REFMAN copy failed"
14
	exit 1;
15
fi
16

    
17
# copy TXM documentation files files
18
mkdir "$SHAREDALL/doc"
19
cp -f "${SVNDOCTRUNK}/user manuals/txm-manual-fr.pdf" "$SHAREDALL/doc/Manuel de TXM 0.7 FR.pdf"
20
if [ $? != 0 ]; then
21
	echo "** TXM REFMAN copy failed"
22
	exit 1;
23
fi
24

    
25
echo "** Shared files copy: success !"