Statistics
| Revision:

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

History | View | Annotate | Download (647 Bytes)

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

    
7

    
8
svn update "${SVNDIR}"
9

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

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

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