CSIT-1136: Trending: Redirect "new" to the index.html
[csit.git] / resources / tools / presentation / run_cpta.sh
index 081becf..b6bd96f 100755 (executable)
@@ -24,13 +24,13 @@ pip install -r requirements.txt
 
 export PYTHONPATH=`pwd`
 
-python pal.py \
+STATUS=$(python pal.py \
     --specification specification_CPTA.yaml \
     --logging INFO \
-    --force
+    --force)
 RETURN_STATUS=$?
 
-rm -rf ${DIR[WORKING]}
+cp -r new _build/
 
-echo ${RETURN_STATUS}
+echo ${STATUS}
 exit ${RETURN_STATUS}