Alexander Afanasyev | d6453cd | 2015-08-20 21:45:36 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -e |
| 3 | set -x |
| 4 | |
| 5 | git rm -qrf . |
| 6 | git clone --depth=1 https://github.com/named-data-ndnSIM/ns-3-dev ns-3 |
Spyridon Mastorakis | 5897c96 | 2015-08-31 15:37:18 -0700 | [diff] [blame] | 7 | git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen |
Alexander Afanasyev | d6453cd | 2015-08-20 21:45:36 -0700 | [diff] [blame] | 8 | mkdir -p ns-3/src/ndnSIM |
| 9 | mv .git ns-3/src/ndnSIM/ |
| 10 | (cd ns-3/src/ndnSIM/ && git reset -q && git checkout . && git submodule update --init) |
| 11 | |
| 12 | mv ns-3/src/ndnSIM/.jenkins.d . # move CI scripts back, so the rest of them can be executed |