From 6d76e1620a3369572b17e0bb2c4f223df8ac49f0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 26 Jul 2017 01:38:30 +0200 Subject: test/all.bat: code style --- test/all.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/all.bat') diff --git a/test/all.bat b/test/all.bat index e65b5d4..7497637 100644 --- a/test/all.bat +++ b/test/all.bat @@ -1,8 +1,8 @@ @setlocal enabledelayedexpansion -@if [%1] == [] goto exit_with_usage +@if "%~1" == "" goto exit_with_usage -@set utils_dir=%~1 +@set "utils_dir=%~1" nist.py --path "%utils_dir%" || exit /b !errorlevel! cavp.py --path "%utils_dir%" || exit /b !errorlevel! @@ -11,5 +11,5 @@ file.py --path "%utils_dir%" || exit /b !errorlevel! @goto :eof :exit_with_usage -@echo usage: %0 UTILS_DIR >&2 +@echo usage: %~nx0 UTILS_DIR >&2 @exit /b 1 -- cgit v1.2.3