Revision 736 tmp/trunk/org.txm.setups/getSharedFiles.sh

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

  
7

  
8
svn update "${SVNDIR}"
9

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

  

Also available in: Unified diff