blob: 67e579f9d7d26877755b590426d9d37302df966c [file] [log] [blame]
Alexander Afanasyevd6453cd2015-08-20 21:45:36 -07001#!/usr/bin/env bash
2set -e
3set -x
4
5git rm -qrf .
6git clone --depth=1 https://github.com/named-data-ndnSIM/ns-3-dev ns-3
7git clone --depth=1 https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
8mkdir -p ns-3/src/ndnSIM
9mv .git ns-3/src/ndnSIM/
10(cd ns-3/src/ndnSIM/ && git reset -q && git checkout . && git submodule update --init)
11
12mv ns-3/src/ndnSIM/.jenkins.d . # move CI scripts back, so the rest of them can be executed