Skip to content

Commit

Permalink
%cd% path changed to %~dp0
Browse files Browse the repository at this point in the history
Thanks to @igorlira
  • Loading branch information
ThisAccountHasBeenSuspended authored and igorlira committed Sep 2, 2024
1 parent f55d4a5 commit 7d53dd3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion scripts/build-extension.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title build-extension

:: Navigate to the folder of this script.
cd %cd%
cd %~dp0

:: Navigate back.
cd .\..\
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-vm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title build-vm

:: Navigate to the folder of this script.
cd %cd%
cd %~dp0

:: Navigate back to the "vm-rust" folder.
cd .\..\vm-rust\
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title build

:: Navigate to the folder of this script.
cd %cd%
cd %~dp0

:: Navigate back.
cd .\..\
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title run

:: Navigate to the folder of this script.
cd %cd%
cd %~dp0

:: Navigate back.
cd .\..\
Expand Down

0 comments on commit 7d53dd3

Please sign in to comment.