mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-22 06:17:19 +00:00

Older versions of git store the absolute path of the submodules' repository as stored in the super-project, e.g.: $ cat some-submodule/.git gitdir: /path/to/super-project/.git/modules/some-submodule Obviously, this is not very reproducible. More recent versions of git, however, store relative paths, which de-facto makes it reproducible. Fix older versions by replacing the absolute paths with relative ones. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit 8fe9894f655fd79207c41673e1966cc4d4d101d1) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>