ufal/mtmonkey

install_virtualenv.sh breaks

lefterav opened this issue · 1 comments

Hi, when trying to run this script, I get the following error:

mkdir: cannot create directory /virtualenv': Permission denied ln: failed to create symbolic link./virtualenv': File exists
New python executable in /home/elav01/virtualenv/bin/python
Installing setuptools............done.
Installing pip...............done.
install_virtualenv.sh: line 32: virtualenv/bin/activate: No such file or directory

The problem does not occur if I run the script commands one by one from the commandline

Hi,

thanks for the reporting. There was an error in the 1st test in the file (it should test if $SHARE and $USER are non-empty, but it broke if actually any of them were empty). Sorry about that.

It should be fixed now in bf9d732 .

Best,
Ondrej