Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 1 | #!/usr/bin/python2 |
| 2 | import os |
| 3 | |
Eric Newberry | 59094fc | 2017-11-02 00:41:32 -0700 | [diff] [blame] | 4 | # Install repo-ng |
Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 5 | def run(): |
| 6 | print "\nINSTALLING repo-ng" |
| 7 | print "***********************" |
Junxiao Shi | 33a6ee1 | 2016-12-26 18:59:38 +0000 | [diff] [blame] | 8 | os.system("git clone --depth 1 https://github.com/named-data/repo-ng") |
Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 9 | os.chdir("repo-ng") |
Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 10 | os.system("./waf configure") |
Eric Newberry | 59094fc | 2017-11-02 00:41:32 -0700 | [diff] [blame] | 11 | os.system("./waf") |
Yanbiao Li | e00f7f0 | 2015-05-20 20:20:10 -0700 | [diff] [blame] | 12 | os.system("sudo ./waf install") |
| 13 | os.chdir("..") |