Hello.
I have a problem with postBuildCommands. it runs for every "dub build" inside the script that I passed to this parameter. I'm trying to build library and a few executables after, that are using this library (like examples).
Here is my main dub configuration

"name": "qcore",
"targetName": "qcore",
"targetType": "library",
"targetPath": "bin",
"versions": ["trace"],	
"postBuildCommands-posix": ["./buildExamples.sh"]

buildExamples.sh script:

#!/bin/sh
cd "examples"
echo "Build example 1: "
dub build --config=ex1
echo "Done\n"
echo "Build example 2: "
dub build --config=ex2
echo "Done\n"

and dub configs from examples:

"configurations": [
		{
			"name": "ex1",
			"targetName": "ex1",
			"targetType": "executable",
			"targetPath": "../bin",
			"sourcePaths": ["ex1/"],
			"versions": ["trace"]
		},
		{
			"name": "ex2",
			"targetName": "ex2",
			"targetType": "executable",
			"targetPath": "../bin",
			"sourcePaths": ["ex2/"],
			"versions": ["trace"]
		}
		
	]

When I run "dub build" in main dir i get output like this:

Building qcore ~master configuration "qcore", build type debug.
Running dmd...
Running post-build commands...
Building qcoreexamples ~master configuration "ex1", build type debug.
Compiling using dmd...
Linking...
Running post-build commands...
/bin/bash: ./buildExamples.sh: No such file or directory
Error executing command build: Command failed with exit code 127

Done

Build ex2 example: 
Building qcoreexamples ~master configuration "ex2", build type debug.
Compiling using dmd...
Linking...
Running post-build commands...
/bin/bash: ./buildExamples.sh: No such file or directory
Error executing command build: Command failed with exit code 127

Done

How can I fix this problem?

Thanks.