Doh, I understand. The *local* directory name is a variable. I get it now
Try the !cd change-local-directory-during-the-compile command. I don't think that variables are expanded while compiling, only while the installer is running, but you could use
before the File commands, and it should work just fine.