From 45f931d916c09473ef434c9e5ca6e4f87b21b601 Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Wed, 19 Jan 2022 09:02:17 +0530 Subject: [PATCH] Apply space fix --- resources/bin/bal.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/bin/bal.bat b/resources/bin/bal.bat index 29554a57..d3ccfebe 100644 --- a/resources/bin/bal.bat +++ b/resources/bin/bal.bat @@ -27,9 +27,9 @@ set RUN_BALLERINA=true set FILE_PATH=%CURRENT_PATH%..\distributions\ballerina-version set JAVA_CMD=java if "%1" == "dist" set dist=true -if "%2" == "dist" set dist=true +if "%~2" == "dist" set dist=true if "%1" == "update" set dist=true -if "%2" == "update" set dist=true +if "%~2" == "update" set dist=true if "%1" == "build" set dist=true if "%1" == "update" set update=true if "%1" == "build" set build=true @@ -100,7 +100,7 @@ if "%RUN_BALLERINA%" == "true" ( ) set merge=false if "%1" == "help" ( - if "%2" == "" set merge=true + if "%~2" == "" set merge=true ) if "%1" == "-h" set merge=true if "%1" == "--help" set merge=true