Committed by
Gerrit Code Review
Fixed onos-install to deal with the first-time install where there is no .m2/repository/org
Change-Id: I9d2ba4be4230bbfd4a6f29645c07c6210a282f9e
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -45,7 +45,8 @@ ssh $remote " | ... | @@ -45,7 +45,8 @@ ssh $remote " |
| 45 | 45 | ||
| 46 | # Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it. | 46 | # Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it. |
| 47 | rm -fr ~/.m2/repository/org/onosproject | 47 | rm -fr ~/.m2/repository/org/onosproject |
| 48 | - cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onosproject ~/.m2/repository/org/onosproject | 48 | + mkdir -p ~/.m2/repository/org |
| 49 | + cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onosproject ~/.m2/repository/org | ||
| 49 | 50 | ||
| 50 | # Drop log level for the console | 51 | # Drop log level for the console |
| 51 | echo "log4j.logger.org.apache.sshd = WARN" \ | 52 | echo "log4j.logger.org.apache.sshd = WARN" \ | ... | ... |
-
Please register or login to post a comment