Skip to content

Commit

Permalink
fix bug in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris committed Apr 5, 2017
1 parent 8a9d9ac commit b34078e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ build_dir=build_debug
echo "putting build in build_debug folder, to clean, just delete the directory..."

# this ensures the cmake files will be built in our $build_dir instead.
if [[ -f "../cmake/CMakeCache.txt" ]]; then
rm "../cmake/CMakeCache.txt"
if [[ -f "./cmake/CMakeCache.txt" ]]; then
rm "./cmake/CMakeCache.txt"
fi
if [[ -d "../cmake/CMakeFiles" ]]; then
rm -rf "../cmake/CMakeFiles"
if [[ -d "./cmake/CMakeFiles" ]]; then
rm -rf "./cmake/CMakeFiles"
fi

if [[ ! -d $build_dir ]]; then
Expand Down

0 comments on commit b34078e

Please sign in to comment.