Fix lib base (#1794)

* Fix GIT_INSTALL_ROOT again

* fixed lib_base error

* fix lib help

* fix lib help
This commit is contained in:
Dax T Games 2018-05-31 07:35:02 -05:00 committed by Benjamin Staneck
parent 40b9ca4e28
commit 4df1d744d3
5 changed files with 10 additions and 13 deletions

View File

@ -3,7 +3,7 @@
set lib_base=call "%~dp0lib_base.cmd"
if "%~1" == "/h" (
%lib_base% help "%0"
%lib_base% help "%~0"
) else if "%1" neq "" (
call :%*
)
@ -16,7 +16,7 @@ exit /b
:::.
:::include:
:::.
::: call "$0"
::: call "lib_base.cmd"
:::.
:::usage:
:::.
@ -27,12 +27,9 @@ exit /b
::: file <in> full path to file containing lib_routines to display
:::.
:::-------------------------------------------------------------------------------
for /f "tokens=* delims=:" %%a in ('type "%~1" ^| findstr /i /r "^:::"') do (
rem echo a="%%a"
if "%%a"==" " (
echo.
if "%%a"=="." (
echo.
) else if /i "%%a" == "usage" (

View File

@ -6,7 +6,7 @@ call "%~dp0lib_base.cmd"
set lib_console=call "%~dp0lib_console.cmd"
if "%~1" == "/h" (
%lib_base% help "%0"
%lib_base% help "%~0"
) else if "%1" neq "" (
call :%*
)
@ -19,7 +19,7 @@ exit /b
:::.
:::include:
:::.
::: call "$0"
::: call "lib_console.cmd"
:::.
:::usage:
:::.

View File

@ -7,7 +7,7 @@ set lib_git=call "%~dp0lib_git.cmd"
if "%~1" == "/h" (
%lib_base% help "%0"
%lib_base% help "%~0"
) else if "%1" neq "" (
call :%*
)
@ -20,7 +20,7 @@ exit /b
:::.
:::include:
:::.
::: call "$0"
::: call "lib_git.cmd"
:::.
:::usage:
:::.

View File

@ -6,7 +6,7 @@ call "%%~dp0lib_console"
set lib_path=call "%~dp0lib_path.cmd"
if "%~1" == "/h" (
%lib_base% help "%0"
%lib_base% help "%~0"
) else if "%1" neq "" (
call :%*
)
@ -19,7 +19,7 @@ exit /b
:::
:::include:
:::
::: call "$0"
::: call "lib_path.cmd"
:::
:::usage:
:::

View File

@ -6,7 +6,7 @@ call "%%~dp0lib_console"
set lib_profile=call "%~dp0lib_profile.cmd"
if "%~1" == "/h" (
%lib_base% help "%0"
%lib_base% help "%~0"
) else if "%1" neq "" (
call :%*
)
@ -19,7 +19,7 @@ exit /b
:::
:::include:
:::
::: call "$0"
::: call "lib_profile.cmd"
:::
:::usage:
:::