Gary Wu | 5cccfa9 | 2017-08-02 12:03:10 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright 2017 Huawei Technologies Co., Ltd. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | |
Gary Wu | 213a835 | 2017-06-16 13:44:28 -0700 | [diff] [blame] | 12 | while read p; do |
Gary Wu | 3655edc | 2017-06-21 14:37:43 -0700 | [diff] [blame] | 13 | if [ ! -e $p ]; then |
| 14 | echo $p |
| 15 | git clone ssh://gerrit.onap.org:29418/$p $p |
| 16 | fi |
Gary Wu | 213a835 | 2017-06-16 13:44:28 -0700 | [diff] [blame] | 17 | done < projects.txt |