Try to clone first with SSH, using HTTPS in case of failure. README updated
This commit is contained in:
@@ -75,7 +75,15 @@ python_interpreter="python3"
|
||||
function systole {
|
||||
local current_time=$(date "+%Y.%m.%d-%H.%M.%S")
|
||||
root_dir="dram.vp.system_$current_time"
|
||||
`git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir`
|
||||
echo -e "Cloning. Please be patient...\n"
|
||||
git clone --recursive git@git.rhrk.uni-kl.de:EIT-Wehn/dram.vp.system.git $root_dir --quiet
|
||||
local success=$?
|
||||
if [[ $success -eq 0 ]]; then
|
||||
echo -e "Clone succeeded\n"
|
||||
else
|
||||
echo -e "Cloning failed. Trying with HTTPS...\n"
|
||||
git clone --recursive https://$git_user@git.rhrk.uni-kl.de/EIT-Wehn/dram.vp.system.git $root_dir --quiet
|
||||
fi
|
||||
cd $root_dir
|
||||
git checkout master
|
||||
git pull
|
||||
|
||||
12
README.md
12
README.md
@@ -852,6 +852,18 @@ $ cd build/simulator/
|
||||
$ ./dramSys > output
|
||||
```
|
||||
|
||||
#### Log Collector Script
|
||||
Users can profit of running multiple simulations automatically with dramSylva.
|
||||
|
||||
Example on how to run the script:
|
||||
|
||||
``` bash
|
||||
$ cd DRAMSys/simulator/resources/scripts/dramSylva
|
||||
$ chmod u+x dramSylva.sh
|
||||
$ ./dramSylva
|
||||
```
|
||||
More detailed information is available in [dramSylva folder](DRAMSys/simulator/resources/scripts/dramSylva).
|
||||
|
||||
#### DRAMsys Diagrams
|
||||
|
||||
- **Payload Extension information**
|
||||
|
||||
Reference in New Issue
Block a user