scripts/functions: Fix CT_ExtractGit function.
Change CT_ExtractGit so that it clones the repository, instead of just
symlinking it. After cloning, any given ref is checked out, or if no
ref is given, the HEAD of the repository is checked out.
This makes CT_Extract behave similar for git repositories as it does
for tarballs, so that it for example can be used for passing glibc-ports
as a git repository.
Signed-off-by: "Esben Haabendal" <esben.haabendal@prevas.dk>
[yann.morin.1998@anciens.enib.fr: fix incomplete var rename]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
1 # Part-2 of mingw C library options: development libraries
5 prompt "Include DirectX development files"
9 prompt "Include OpenGL development files"
13 prompt "Include PDCurses (NCurses library) development files"
17 prompt "PDCurses library version"
18 depends on MINGW_PDCURSES
20 config MINGW_PDCURSES_V_3_4
24 # CT_INSERT_VERSION_ABOVE
25 # Don't remove above line!
27 config MINGW_PDCURSES_V_select
29 prompt "Other version"
33 config MINGW_PDCURSES_VERSION
35 prompt "PDCurses library version" if MINGW_PDCURSES_V_select
36 default "3.4" if MINGW_PDCURSES_V_3_4
37 # CT_INSERT_VERSION_STRING_ABOVE
38 # Don't remove above line!
40 Enter the version number of the PDCurses library to use
44 prompt "Include GnuRX (regex library) development files"
48 prompt "GnuRX library version"
49 depends on MINGW_GNURX
51 config MINGW_GNURX_V_2_5_1
55 # CT_INSERT_VERSION_ABOVE
56 # Don't remove above line!
58 config MINGW_GNURX_V_select
60 prompt "Other version"
64 config MINGW_GNURX_VERSION
66 prompt "GnuRX library version" if MINGW_GNURX_V_select
67 default "2.5.1" if MINGW_GNURX_V_2_5_1
68 # CT_INSERT_VERSION_STRING_ABOVE
69 # Don't remove above line!
71 Enter the version number of the Regex library to use