Building engine on Linux: "GitDependencies.sh: No such file or directory"

Hey all! I’ve been wanting to setup UE4 on Linux (I’m running Zorin, Ubuntu-based OS) and I’m having some difficulty running Setup.sh.

The error I’m currently facing after running Setup.sh is:

Registering git hooks... (this will override existing ones!)
Github build
Checking / downloading the latest archives
./Setup.sh: line 156: Build/BatchFiles/Linux/GitDependencies.sh: No such file or directory

This goes without saying, but I’ve verified that the file is actually there.

What can I try?
Thank you!

I also had this problem. Make sure the directory you run ./Setup.sh does not have any spaces in it’s name.