diff options
Diffstat (limited to '')
-rw-r--r-- | test/all.bat | 6 |
1 files changed, 3 insertions, 3 deletions
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 |