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 | ||||
7 | git clone --depth=1 https://github.com/named-data-ndnSIM/pybindgen.git pybindgen | ||||
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 |