stick with submodule commit defined in repository

Use the submodule commit already defined in the repository
on submodule update, rather than pulling the most recent commit
in Makefiles.
This commit is contained in:
nhmall
2023-07-03 11:27:40 -04:00
parent 2d6d151b28
commit 81dedbe298
3 changed files with 10 additions and 5 deletions
+4 -2
View File
@@ -784,11 +784,13 @@ ifeq "$(GIT_AVAILABLE)" "Y"
fetchlua:
@if [ ! -f $(LUASRC)/lua.h ] ; then \
git submodule init ../submodules/lua && \
git submodule update --remote ../submodules/lua ; fi
git submodule update ../submodules/lua ; fi
# git submodule update --remote ../submodules/lua ; fi
fetchpdcurses:
@if [ ! -f $(PDCURSES_TOP)/curses.h ] ; then \
git submodule init ../submodules/$(PDCURSES) && \
git submodule update --remote ../submodules/$(PDCURSES) ; fi
git submodule update ../submodules/$(PDCURSES) ; fi
# git submodule update --remote ../submodules/$(PDCURSES) ; fi
else # GIT_AVAILABLE no
CURLLUASRC=http://www.lua.org/ftp/lua-5.4.6.tar.gz
CURLLUADST=lua-5.4.6.tar.gz