summaryrefslogtreecommitdiff
path: root/localserver
diff options
context:
space:
mode:
Diffstat (limited to 'localserver')
-rwxr-xr-xlocalserver/build.sh5
-rwxr-xr-xlocalserver/buildasan.sh5
-rwxr-xr-xlocalserver/clean.sh6
3 files changed, 8 insertions, 8 deletions
diff --git a/localserver/build.sh b/localserver/build.sh
index a756441..497bf9d 100755
--- a/localserver/build.sh
+++ b/localserver/build.sh
@@ -1,8 +1,5 @@
#!/bin/bash
export DIR=`pwd`
-rm -rf ../../server-plugin/build/
-mkdir ../../server-plugin/build/
-cd ${DIR}/../../server-code/
-make clean
+./clean.sh
./build.sh old
diff --git a/localserver/buildasan.sh b/localserver/buildasan.sh
index 08332b9..cc34b09 100755
--- a/localserver/buildasan.sh
+++ b/localserver/buildasan.sh
@@ -1,8 +1,5 @@
#!/bin/bash
export DIR=`pwd`
-rm -rf ../../server-plugin/build/
-mkdir ../../server-plugin/build/
-cd ${DIR}/../../server-code/
-make clean
+./clean.sh
./build.sh
diff --git a/localserver/clean.sh b/localserver/clean.sh
new file mode 100755
index 0000000..54bc805
--- /dev/null
+++ b/localserver/clean.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+rm -rf ../../server-plugin/build/
+mkdir ../../server-plugin/build/
+cd ../../server-code/
+make clean