Skip to content

Commit

Permalink
005-rare-hello-fod: : containerlab-fod-freertr.sh updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dschmitz2017 committed Oct 11, 2023
1 parent e3ed478 commit bd0ce33
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lab/005-rare-hello-fod/containerlab-fod-freertr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ set -e
type -p containerlab || { echo "containerlab must be installed"; exit 1; }

echo "0.a." 1>&2
if [ ! -d ./freeRtr-containerlab/lab/005-rare-hello-fod ]; then
(set -x; git clone https://github.com/rare-freertr/freeRtr-containerlab && cd ./freeRtr-containerlab/lab/005-rare-hello-fod)
cd ./freeRtr-containerlab/lab/005-rare-hello-fod
else
(set -x; cd ./freeRtr-containerlab/lab/005-rare-hello-fod)
cd ./freeRtr-containerlab/lab/005-rare-hello-fod
fi
# not really executed here, as we are just working in the already check-out working dir here:
echo "git clone https://github.com/rare-freertr/freeRtr-containerlab && cd ./freeRtr-containerlab/lab/005-rare-hello-fod"

#if [ ! -d ./freeRtr-containerlab/lab/005-rare-hello-fod ]; then
# (set -x; git clone https://github.com/rare-freertr/freeRtr-containerlab && cd ./freeRtr-containerlab/lab/005-rare-hello-fod)
# cd ./freeRtr-containerlab/lab/005-rare-hello-fod
#else
# (set -x; cd ./freeRtr-containerlab/lab/005-rare-hello-fod)
# cd ./freeRtr-containerlab/lab/005-rare-hello-fod
#fi

echo 1>&2
echo "0.b." 1>&2
Expand Down

0 comments on commit bd0ce33

Please sign in to comment.