From f5fb825d100902d1a059b04f76a5035dd2d1e831 Mon Sep 17 00:00:00 2001 From: Aidan Delaney Date: Thu, 23 Feb 2023 06:47:48 +0000 Subject: [PATCH] Equalise hello-world-windows and hello-moon-windows These are both no-op buildpacks, make them syntactically the same. Signed-off-by: Aidan Delaney --- buildpacks/hello-moon-windows/bin/build.bat | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/buildpacks/hello-moon-windows/bin/build.bat b/buildpacks/hello-moon-windows/bin/build.bat index 5c5e4063..97f6bbac 100644 --- a/buildpacks/hello-moon-windows/bin/build.bat +++ b/buildpacks/hello-moon-windows/bin/build.bat @@ -2,10 +2,13 @@ echo --- Hello Moon buildpack -set env_dir=%2\env +:: INPUT ARGUMENTS +set platform_dir=%2 +set env_dir=%platform_dir%\env set layers_dir=%1 set plan_path=%3 +:: ENV VARS echo env_dir: %env_dir% echo env_vars: for /f "tokens=*" %%f in ('dir /s /q /b %env_dir%') do ( @@ -17,7 +20,10 @@ for /f "tokens=*" %%o in ('set') do ( echo %%o ) +:: LAYERS echo layers_dir: %layers_dir% + +:: PLAN echo plan_path: %plan_path% echo plan contents: for /f "tokens=*" %%o in ('type %plan_path%') do (