mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
modified wrapper script to get rid of storing logs that dont really fail anymore
This commit is contained in:
parent
628d5b3349
commit
4797e89783
@ -1,16 +1,9 @@
|
||||
#!/bin/bash
|
||||
date
|
||||
|
||||
|
||||
# Variables
|
||||
LOG=$HOME/nightly-runs/logs/from_wrapper.log # you can store your log file where you would like
|
||||
PYTHON_SCRIPT=$HOME/nightly-runs/cvw/bin/ # cvw can be anywhere you would like it. Make sure to point your variable there
|
||||
SETUP_SCRIPT=$HOME/nightly-runs/cvw/ # cvw can be anywhere you would like it. Make sure to point your variable there
|
||||
|
||||
|
||||
|
||||
date > $LOG 2>&1
|
||||
|
||||
echo "Current directory"
|
||||
pwd
|
||||
|
||||
@ -19,10 +12,10 @@ echo "Current directory"
|
||||
pwd
|
||||
|
||||
echo "Sourcing setup_host"
|
||||
source ./setup.sh >> $LOG 2>&1
|
||||
source ./setup.sh
|
||||
|
||||
cd $PYTHON_SCRIPT
|
||||
pwd
|
||||
echo "Running python file"
|
||||
python nightly_build.py >> $LOG 2>&1
|
||||
python nightly_build.py
|
||||
echo "Finished"
|
||||
|
Loading…
Reference in New Issue
Block a user