On 13:04-20210709, Nishanth Menon wrote: > Make sure that the build scripts git url points to the correct location. > > Signed-off-by: Nishanth Menon <n...@ti.com> > --- > lib/oesdk/config-build-env | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/lib/oesdk/config-build-env b/lib/oesdk/config-build-env > index 885fbcfb50d9..cdfa6830eb51 100644 > --- a/lib/oesdk/config-build-env > +++ b/lib/oesdk/config-build-env > @@ -47,6 +47,14 @@ checkout_layer_scripts() { > else > # This looks to be a git repo. Hopefully it is the right one :) > cd $BUILD_ROOT > + # In case we have changed the location of our build scripts > + # we should change our git url towards it. > + mygit='git remote get-url origin' > + if [ "$mygit" != "$TI_SDK_OELAYER_SETUP"]; then There needs to be a space between "$TI_SDK_OELAYER_SETUP" and ]
if there are no further comments, and you can fix it when applying, please do. Else, do comment so that I can send an updated version. > + echo "$TI_SDK_OELAYER_SETUP Mismatch in git URL: $mygit vs > $TI_SDK_OELAYER_SETUP. Force resetting the origin!" > + git remote set-url origin $TI_SDK_OELAYER_SETUP > + fi > + > git fetch > git reset --hard origin > fi > -- > 2.32.0 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D)/Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago