Skip to content

Commit 61d6f07

Browse files
authored
restore cwd in assets.bat
1 parent d88c554 commit 61d6f07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ IF "%1"=="assets-test" (
88
git submodule update --init --recursive --remote
99
cd game/assets
1010
git remote add upstream git@gitlab.com:sdslabs/rootex-assets.git
11+
cd ../..
1112
)
1213
IF "%1"=="assets-game" (
1314
git submodule deinit -f game/assets
@@ -18,6 +19,7 @@ IF "%1"=="assets-game" (
1819
git submodule update --init --recursive --remote
1920
cd game/assets
2021
git remote add upstream git@gitlab.com:sdslabs/rootex-game.git
22+
cd ../..
2123
)
2224

2325
IF "%1"=="assets-custom" (
@@ -27,4 +29,5 @@ IF "%1"=="assets-custom" (
2729
git config --file=.gitmodules submodule.assets.url %2
2830
git config --file=.gitmodules submodule.assets.branch main
2931
git submodule update --init --recursive --remote
30-
)
32+
cd ../..
33+
)

0 commit comments

Comments
 (0)