4 TARGET_PATH
=/usr
/local
/bin
13 echo "Perl executable was not found"
14 echo "Install Perl first, then try again."
18 echo "Copying apertium-eval-translator in $TARGET_PATH"
20 echo -n "#!" > apertium-eval-translator
21 echo "$PERLPATH -w " >> apertium-eval-translator
22 cat eval-translator.pl
>> apertium-eval-translator
23 chmod +x apertium-eval-translator
25 cp apertium-eval-translator
$TARGET_PATH
29 echo "apertium-eval-translator successfully installed"
31 echo "Installation failed. Are you root?"