summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/clear.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/clear.sh b/build/clear.sh
index a2af88089..35178fe86 100755
--- a/build/clear.sh
+++ b/build/clear.sh
@@ -1,4 +1,9 @@
#!/bin/sh
+basedir="$(cd "$(dirname $0)"; pwd)"
+manual_path="$(echo $basedir | sed "s:/build$::")"
+build_path="$manual_path/build"
+cd $build_path
+
rm -rf build.out
rm -rf build.tmp