diff --git a/build/scripts/Avr8TargetDescriptionFiles.php b/build/scripts/Avr8TargetDescriptionFiles.php index 21210033..9cc68e3d 100644 --- a/build/scripts/Avr8TargetDescriptionFiles.php +++ b/build/scripts/Avr8TargetDescriptionFiles.php @@ -12,7 +12,7 @@ namespace Bloom\BuildScripts; $buildPath = $argv[1] ?? null; if (empty($buildPath)) { print "Missing build path. Aborting\n"; - die; + exit(1); } require_once __DIR__ . "/TargetDescriptionFiles/Factory.php"; diff --git a/src/Services/PathService.hpp b/src/Services/PathService.hpp index c8e33108..91b970b9 100644 --- a/src/Services/PathService.hpp +++ b/src/Services/PathService.hpp @@ -21,7 +21,7 @@ namespace Services * @return */ static std::string resourcesDirPath() { - return PathService::applicationDirPath() + "/../resources/"; + return PathService::applicationDirPath() + "/../resources"; } /**