Linux-only: Quick fix to the last commit.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5014 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2011-12-24 11:25:44 +00:00
parent 48afd2c274
commit fa5fcf47de
1 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ for f in $args; do
flags="$flags -DCMAKE_BUILD_TYPE=Release"
fi
if [ "$f" = "clean" ] ; then
clean=true
clean_build=true
fi
done
@ -35,7 +35,8 @@ fi
cd build
cmake $flags .. 2>&1 | tee -a ../install_log.txt
if [ $clean ]; then
if [ $clean_build = true ]; then
echo "Doing a clean build."
make clean 2>&1 | tee -a ../install_log.txt
fi
make 2>&1 | tee -a ../install_log.txt