Is it possible to access root folder from a pre-build script in Xcode?

I need access to the “Source” folder from my pre-build script in Xcode. ${SRCROOT} only brings me to the “Builds” folder where the Xcode project lives. Is there a smart way to create a relative path variable to the main folder (where the .jucer file lives) or directly where the source code files are located?