When trying to install the cryoSPARC v2 worker on a RHEL 7.3 machine I always stumble upon this error:
bin/cryosparcw: line 31: cd: /local0/cina/cryosparc2/cryosparc2_worker/bin /local0/cina/cryosparc2/cryosparc2_worker/bin/../: No such file or directory
If I add the line
to the script
the output is:
bin/cryosparcw: line 31: cd: /local0/cina/cryosparc2/cryosparc2_worker/bin
/local0/cina/cryosparc2/cryosparc2_worker/bin/…/: No such file or directory
Therefore, the variable script_dir contains a 2-line path whereas it should be a single line. On Ubuntu 16.04 it works as expected and I’m able to install it. Maybe a distro-specific bug? Any clues on how to solve this problem?