summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index cda70f2..dacc56e 100755
--- a/build.sh
+++ b/build.sh
@@ -4,11 +4,10 @@ DIR=$(pwd)
BUILDDIR=build
# if --clean, remove build dir
-if [ "$1" = "--clean" ]
+if [ "$1" = "-c" ]
then
rm -rf $BUILDDIR
echo "$BUILDDIR removed."
- exit 1
fi
if [ ! -f CMakeLists.txt ]