Linux: Setup.sh doesn't like folder names with whitespaces

I’m trying to build UE4 on Linux but the setup.sh clearly doesn’t like it when your path contains spaces. My path to my git clone is /run/media/derp/Derp 2TB HDD/UE4Linux. I cloned the release branch.

However running ./Setup.sh inside that folder causes the following output:
./Setup.sh: line 32: cd: /run/media/derp/Derp: No such file or directory
./Setup.sh: line 33: cd: /run/media/derp/Derp: No such file or directory

Any suggestions on how to fix the script?

Hey Zennoe-

This issue has been reported here: Unreal Engine Issues and Bug Tracker (UE-41819) . For now, the best solution would be to remove the spaces from the folder name or to copy / re-clone the engine into a new folder without spaces.

Cheers