From 70bd4b2df1678b492abe0ab8db9f9e86c182f58d Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Tue, 13 Aug 2013 17:01:43 +0200 Subject: [PATCH] update --- install.sh | 13 ++++++++++++- tools/lia_ltbox/lia_ne_v2.2/.README.txt.swp | Bin 12288 -> 0 bytes 2 files changed, 12 insertions(+), 1 deletion(-) delete mode 100644 tools/lia_ltbox/lia_ne_v2.2/.README.txt.swp diff --git a/install.sh b/install.sh index 9149834..c1589cd 100755 --- a/install.sh +++ b/install.sh @@ -267,7 +267,7 @@ then fi ### Set Variables in bashrc ### -cat ~/.bashrc | grep -v "OTMEDIA_HOME" | grep -v "SRILM_BIN" | grep -v "main_tools" > ~/.bashrc.org +cat ~/.bashrc | grep -v "OTMEDIA_HOME" | grep -v "SRILM_BIN" | grep -v "main_tools" | grep -v "/tools/install/" > ~/.bashrc.org #cat ~/.bashrc | grep -v "OTMEDIA_HOME" | grep -v "SRILM_BIN" | grep -v "LIA_TAGG" | grep -v "LIA_PHON" | grep -v "LIA_BIGLEX" > ~/.bashrc.org cp ~/.bashrc.org ~/.bashrc export OTMEDIA_HOME=$PWD @@ -279,6 +279,11 @@ echo "export SRILM_BIN=$SRILM/bin/$MACHINE_TYPE" >> ~/.bashrc #echo "export LIA_PHON_REP=$OTMEDIA_HOME/tools/lia_ltbox/lia_phon/" >> ~/.bashrc #echo "export LIA_BIGLEX=$OTMEDIA_HOME/tools/lia_ltbox/lia_biglex/" >> ~/.bashrc #echo "export LIA_NE=$OTMEDIA_HOME/tools/lia_ltbox/lia_ne_v2.2" >> ~/.bashrc +if [ $SCORING -eq 1 ] +then + echo "export PATH=\$PATH:$OTMEDIA_HOME/tools/install/bin" >> ~/.bashrc + echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$OTMEDIA_HOME/tools/install/lib" >> ~/.bashrc +fi # set global configuration file echo "OTMEDIA_HOME=\"$PWD\"" > $OTMEDIA_HOME/cfg/main_cfg.cfg @@ -294,6 +299,12 @@ echo -e "or set variable :\n" echo "export OTMEDIA_HOME=$PWD" echo "export PATH=\$PATH:$OTMEDIA_HOME/main_tools" echo "export SRILM_BIN=$SRILM/bin/$MACHINE_TYPE" +if [ $SCORING -eq 1 ] +then + echo "export PATH=\$PATH:$OTMEDIA_HOME/tools/install/bin" + echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$OTMEDIA_HOME/tools/install/lib" +fi + echo "${txtwht} \\\\ " diff --git a/tools/lia_ltbox/lia_ne_v2.2/.README.txt.swp b/tools/lia_ltbox/lia_ne_v2.2/.README.txt.swp deleted file mode 100644 index 0da8ce8fa82f3577df4c4e28cb414bc85f5e6b0f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&u<$=6vwAr_|*b}BOG3T;e^INk_ysBY1GBuL`MEm>~#f&Dw?cklWEtx+nHG_ zl`3xV2Y?VoT)08`0}7luz=6MjBXEFg&j|R=+D=mlYNbjXs@df0{q^SUd!P5lwvySZ zU2L{#xpJCedycUif81`3*m-vN8e>;P6xqx7+pJw#iR<^Xd(RqH10GdVGZI6|t0qlj zU5zE*jLlZMTO1`~bG%eps`h-Z(e^85*WAyqyYC1%0uMsq2s^#BSUY~~D82Cf;6VmB z8%Mwqa0DCyN5Bzq1RMcJz!7+a2$<{;`wRIz2E7IynhHC&IRcJ=Bj5-)0*-(q;0QPZ zj({WJ2si?cz#~F{4;dRj&e+xyNC^M`w|@h;^DJY(KtDq_q3h5F^b+(Ubn6+$zJxx4 zK7_{5o6srf73jw!jC}yDLFb@f55phy8Ptb*(4S8;_AT@c^c8dqx&*xqorF$6KRm_Q z_t4kSZRj%eF7z^V68il~#(smofNny|&`-$YQ|J@uW9WTIKsG-Pxy=!91RMcJz!7i+ z{tp5~Y+Z?=P%^B%F2WsQ&c`yULhs<>cR1eyOT|a2gQ={7qsM)^Y z_q?Ea(Qo^mfc&6W_`Vwx^MU|(n%xc^#rE(tm}iVgj7*aSiUnnL=vV-&?d{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