JWS-112 Hotfix the last t-coffee version 11. The -mode quickaln preset breaks if...
[jabaws.git] / binaries / src / compilebin.sh
index b0e478b..39562e8 100644 (file)
@@ -51,8 +51,9 @@ cd tcoffee
 chmod +x install
 ./install clean
 ./install t_coffee -force
+echo -e '#!/usr/bin/env bash\nPDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\nexport PATH=$PATH:$PDIR\nt_coffee "$@"' > t_coffee_source/t_coffee.sh
 chmod +x t_coffee_source/t_coffee
-export PATH=$PATH:$PWD/t_coffee_source
+chmod +x t_coffee_source/t_coffee.sh
 cd ..
 
 echo "Compiling DisEMBL..."