-
Notifications
You must be signed in to change notification settings - Fork 2
/
clean.sh
executable file
·36 lines (27 loc) · 984 Bytes
/
clean.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
RUNNINGSCRIPT="$0"
FILENAME="$(echo $(cd $(dirname "$BASH_SOURCE") && pwd -P)/$(basename "$BASH_SOURCE"))"
err_report() {
echo "Error on line $2:$1"
echo "Stopping the script $(basename "$3")."
}
trap 'err_report $LINENO $FILENAME $RUNNINGSCRIPT; exit 1' ERR
set -E -o pipefail
source config.sh
scriptDirectory="$(pwd)"
#Build
rm -rf $SRC_DIR/spdlog/$BUILD_SUBDIR
rm -rf $SRC_DIR/Eigen3ToPython/$BUILD_SUBDIR
rm -rf $SRC_DIR/eigen-qld/$BUILD_SUBDIR
rm -rf $SRC_DIR/eigen-lssol/$BUILD_SUBDIR
rm -rf $SRC_DIR/tinyxml2/$BUILD_SUBDIR
rm -rf $SRC_DIR/jrl-qp/$BUILD_SUBDIR
rm -rf $SRC_DIR/SpaceVecAlg/$BUILD_SUBDIR
rm -rf $SRC_DIR/sch-core-python/$BUILD_SUBDIR
rm -rf $SRC_DIR/RBDyn/$BUILD_SUBDIR
rm -rf $SRC_DIR/mc_rbdyn_urdf/$BUILD_SUBDIR
rm -rf $SRC_DIR/Tasks/$BUILD_SUBDIR
rm -rf $SRC_DIR/hpp-spline/$BUILD_SUBDIR
rm -rf $SRC_DIR/mc_rtc/$BUILD_SUBDIR
rm -rf $SRC_DIR/mc_hrp5_p/$BUILD_SUBDIR
rm -rf $SRC_DIR/mc_openrtm/$BUILD_SUBDIR