diff --git a/scripts/Makefile b/scripts/Makefile index c16f9deef..0e45a4d25 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -7,8 +7,8 @@ DS?=$(shell date '+%Y%m%d') # set these 2 variables below to point to a directory where you want the # compiled scripts to be copied to -TARGETDIR=/home/your_user_name/bin -BINDIR=/home/your_user_name/bin +TARGETDIR=/home/s0565741/bin +BINDIR=/home/s0565741/bin MAIN_SCRIPTS_TARGET_DIR=$(TARGETDIR) # MAIN_SCRIPTS_TARGET_DIR=$(shell echo `pwd`/temp) diff --git a/scripts/analysis/show-phrases-used.pl b/scripts/analysis/show-phrases-used.pl index d594f234d..a3774d784 100644 --- a/scripts/analysis/show-phrases-used.pl +++ b/scripts/analysis/show-phrases-used.pl @@ -7,7 +7,7 @@ use strict; BEGIN { - my $wd = `pwd`; chop $wd; + my $wd = `pawd`; chop $wd; push @INC, "$wd/perllib/sun4-solaris"; #for GD; if not an absolute path, Polygon.pm throws a fit } use lib "perllib/sun4-solaris/auto/GD"; diff --git a/scripts/tests/full-train-mert-decode.test b/scripts/tests/full-train-mert-decode.test index c5bd13c39..ce76c4d05 100755 --- a/scripts/tests/full-train-mert-decode.test +++ b/scripts/tests/full-train-mert-decode.test @@ -15,7 +15,7 @@ MOSES=$WORKSPACE/moses-cmd/src/moses export SCRIPTS_ROOTDIR=$WORKSPACE/scripts -cp -r ../cs-en-sample ./corpus || die "Missing "`pwd`"/../cs-en-sample" +cp -r ../cs-en-sample ./corpus || die "Missing "`pawd`"/../cs-en-sample" echo "Copied cs-en-sample files" mv corpus/test.* ./ || die "Missing corpus/test.*" @@ -39,17 +39,17 @@ $SCRIPTS_ROOTDIR/training/train-factored-phrase-model.perl \ --corpus corpus/train \ --root . \ --parallel \ - --lm 0:3:`pwd`/corpus/lm.en.gz \ + --lm 0:3:`pawd`/corpus/lm.en.gz \ || die "Failed to train the model" echo "Finished moses.ini, merting." $SCRIPTS_ROOTDIR/training/mert-moses.pl \ --working-dir=mert-tuning \ - `pwd`/dev.src \ - `pwd`/dev.ref \ + `pawd`/dev.src \ + `pawd`/dev.ref \ $MOSES \ - `pwd`/model/moses.ini \ + `pawd`/model/moses.ini \ --decoder-flags="-dl 6 " \ || die "Merting failed"