Skip to content

Commit 82ad074

Browse files
committed
add pushd popd
1 parent 3e9a659 commit 82ad074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorials/introduction/windows_install/windows_install.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ else
6767
cd ..
6868
fi
6969
RepoSource=opencv
70-
cd Build/$RepoSource
70+
pushd Build/$RepoSource
7171
CMAKE_OPTIONS='-DBUILD_PERF_TESTS:BOOL=OFF -DBUILD_TESTS:BOOL=OFF -DBUILD_DOCS:BOOL=OFF -DWITH_CUDA:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DINSTALL_CREATE_DISTRIB=ON'
7272
cmake -G"$CMAKE_CONFIG_GENERATOR" $CMAKE_OPTIONS -DOPENCV_EXTRA_MODULES_PATH="$myRepo"/opencv_contrib/modules -DCMAKE_INSTALL_PREFIX="$myRepo"/install/"$RepoSource" "$myRepo/$RepoSource"
7373
echo "************************* $Source_DIR -->debug"
@@ -76,7 +76,7 @@ echo "************************* $Source_DIR -->release"
7676
cmake --build . --config release
7777
cmake --build . --target install --config release
7878
cmake --build . --target install --config debug
79-
cd ..
79+
popd
8080
@endcode
8181
In this script I suppose you use VS 2015 in 64 bits
8282
@code{.bash}

0 commit comments

Comments
 (0)