Skip to content

Commit

Permalink
Fixes #85 - Improve Windows batch file %BASEDIR% path generation
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed May 9, 2019
1 parent 5b98dbb commit 6f34c3d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ set SAVE_DIR=
goto repoSetup

:WinNTGetScriptDir
set BASEDIR=%~dp0\..
for %%i in ("%~dp0..") do set "BASEDIR=%%~fi"

:repoSetup
set REPO=
Expand Down

0 comments on commit 6f34c3d

Please sign in to comment.