Preferences.txt variables

Hi!

I have this line in my preferences.txt:

recipe.hooks.sketch.postbuild.1.pattern=bash post-build.sh

This command is increment a variable in version.h (build number).
After upgraded the ide to 1.8.1, the post-build.sh path is missing, because during compile the working directory is c:\program files (x86)\arduino.

I need the list of path variables to set the post-build.sh's entire path.

Thanks in advance.

Hi!

I founded the solution, the {build.source.path} variable is the location of original .ino file.