As mentioned in the other comment, you will need to tweak the file to have the path to your project directory if it's not in the repository root directory.
Hello, sorry for my ignorance,nbut where do I put that...? Does that go here?
for file in *.yyp; do yyp_path="$file" breakdone
yyp_path = "drive/folder/folder"
Like that?
yyp_path would be set to something like "folder/some.yyp", and then you could get rid of for-loop entirely