Signed-off-by: Remy Bohmer <li...@bohmer.net> --- 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} <ptxdist@pengutronix.de>" && - git tag "${pkg_pkg}" - git tag base + git tag "${pkg_pkg}") + (cd "${pkg_patchin_dir}" && git tag base) echo "patchin: git: done" fi } -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de