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 diff -urN uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h
2 --- uClibc-dist/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:25 2005
3 +++ uClibc/libc/sysdeps/linux/common/bits/uClibc_touplow.h Fri Jun 3 13:30:39 2005
6 /* glibc uses the equivalent of - typedef __int32_t __ctype_touplow_t; */
8 -typedef __uint16_t __ctype_mask_t;
9 +typedef __uint32_t __ctype_mask_t;
11 #ifdef __UCLIBC_HAS_CTYPE_SIGNED__
13 -typedef __int16_t __ctype_touplow_t;
14 +typedef __int32_t __ctype_touplow_t;
15 #define __UCLIBC_CTYPE_B_TBL_OFFSET 128
16 #define __UCLIBC_CTYPE_TO_TBL_OFFSET 128