Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] capture 2 initialization git commands in 'make init' target #1074

Merged
merged 1 commit into from
Oct 25, 2017
Merged

[build] capture 2 initialization git commands in 'make init' target #1074

merged 1 commit into from
Oct 25, 2017

Conversation

yxieca
Copy link
Contributor

@yxieca yxieca commented Oct 24, 2017

- What I did
Added a new make target 'init'. It executes the 2 git commands in README.md:
git submodule update --init --recursive
git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git'

Updated README.md accordingly.

- How to verify it
Issue "make init" and confirm it is as good as executing the above 2 commands.

@yxieca yxieca merged commit 41f226f into sonic-net:master Oct 25, 2017
@yxieca yxieca deleted the make_init branch October 25, 2017 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants