diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2016-10-06 17:16:03 +0200 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2016-10-06 17:16:03 +0200 |
commit | 35f7d96f2343a230d4844b9fb6d3a0e503d451f1 (patch) | |
tree | c4284b111e7f6e2acda8cd9f3d5f5b089b0f4f57 /src/navigation/build.sh | |
parent | 3e116799398eda2f61c64059b34cbb01c505a1e4 (diff) | |
download | poi-service-35f7d96f2343a230d4844b9fb6d3a0e503d451f1.tar.gz |
fix pb of duplicate enum in guidance
Diffstat (limited to 'src/navigation/build.sh')
-rwxr-xr-x | src/navigation/build.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/navigation/build.sh b/src/navigation/build.sh index c1d36e4..906bc2c 100755 --- a/src/navigation/build.sh +++ b/src/navigation/build.sh @@ -60,10 +60,18 @@ fi if [ "$clean" = 1 ] then - echo 'clean up the build folder' if [ -d "./build" ] then - find ./build ! -name '*.cbp' -type f -exec rm -f {} + + if [ "$navit" = 1 ] + then + echo 'clean up the build folder and regenerate all the stuff' + find ./build ! -name '*.cbp' -type f -exec rm -f {} + + else + echo 'clean up the build folder and regenerate all the stuff except navit ' + rm ./build/CMakeCache.txt + rm ./build/cmake_install.cmake + rm ./build/Makefile + fi fi fi |