Skip to content

Commit

Permalink
Solve minor bug in pip3.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Dec 21, 2021
1 parent d198dd0 commit c755118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metacall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rem Check if it is running a package manager (or related binary) and execute it
if not [%1]==[] (
where /q "%1"
if %errorlevel% EQU 0 (
"%1"
"%1" %*
exit /b %errorlevel%
)
)
Expand Down
2 changes: 1 addition & 1 deletion test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type "%loc%\node\commands.txt" | metacall.bat | findstr "366667" || goto :test_f

echo Python test
set "LOADER_SCRIPT_PATH=%loc%\python"
metacall.bat pip3 install metacall
metacall.bat pip3 install metacall || goto :test_fail
type "%loc%\python\commands.txt" | metacall.bat | findstr "Hello World" || goto :test_fail

exit /b 0
Expand Down

0 comments on commit c755118

Please sign in to comment.