Michael Olbrich wrote: > On Sat, May 29, 2010 at 11:08:49PM +0200, Remy Bohmer wrote: >> Signed-off-by: Remy Bohmer <[email protected]> >> --- >> scripts/lib/ptxd_make_world_patchin.sh | 6 +++--- >> 1 files changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/scripts/lib/ptxd_make_world_patchin.sh >> b/scripts/lib/ptxd_make_world_patchin.sh >> index 80a50e9..74f201f 100644 >> --- a/scripts/lib/ptxd_make_world_patchin.sh >> +++ b/scripts/lib/ptxd_make_world_patchin.sh >> @@ -81,11 +81,11 @@ ptxd_make_world_patchin_apply_git_init() >> # is already git repo? >> if [ "${git_dir}" != ".git" ]; then >> echo "patchin: git: initializing repository" >> - git init -q "${pkg_patchin_dir}" && >> + (cd "${pkg_patchin_dir}" && git init -q && >> git add -f . && >> git commit -q -m "initial commit" >> --author="ptxdist-${PTXDIST_VERSION_FULL} <[email protected]>" && >> - git tag "${pkg_pkg}" >> - git tag base >> + git tag "${pkg_pkg}") >> + (cd "${pkg_patchin_dir}" && git tag base) >> echo "patchin: git: done" >> fi > > This looks very strange. (old and new). Marc, can you please look at this?
I think, we're already in ${pkg_patchin_dir}, so both the cd
${pkg_patchin_dir} and the ${pkg_patchin_dir} from git init can be removed.
Remy, can you check this?
Marc
>
>> }
>> --
>> 1.7.0.4
>>
>>
>> --
>> ptxdist mailing list
>> [email protected]
>>
>
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
