Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-919: Jenkons job
[csit.git]
/
resources
/
tools
/
presentation
/
run_cpta.sh
diff --git
a/resources/tools/presentation/run_cpta.sh
b/resources/tools/presentation/run_cpta.sh
index
6ba962d
..
081becf
100755
(executable)
--- a/
resources/tools/presentation/run_cpta.sh
+++ b/
resources/tools/presentation/run_cpta.sh
@@
-12,10
+12,6
@@
sudo apt-get -y update
sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \
zlib1g-dev unzip
sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \
zlib1g-dev unzip
-# Clean-up when finished
-trap 'rm -rf ${DIR[WORKING]}; exit' EXIT
-trap 'rm -rf ${DIR[WORKING]}; exit' ERR
-
# Create working directories
mkdir ${DIR[WORKING]}
# Create working directories
mkdir ${DIR[WORKING]}
@@
-32,7
+28,9
@@
python pal.py \
--specification specification_CPTA.yaml \
--logging INFO \
--force
--specification specification_CPTA.yaml \
--logging INFO \
--force
-
RETURN_STATUS=$?
RETURN_STATUS=$?
+
+rm -rf ${DIR[WORKING]}
+
echo ${RETURN_STATUS}
exit ${RETURN_STATUS}
echo ${RETURN_STATUS}
exit ${RETURN_STATUS}