1) 从web界面下载zip文件,虽然慢,但是可以不被中断
2) 根据下面这个文件给unzip 打补丁,否则解压会出现 file name too long
https://www.olimex.com/forum/index.php?topic=812.105
Unzip is not good, it is bugged, it fails to extract symbolic links from github zips (and other big ones).
Usually you get an error "file name too long" or something like that, at the end of the progress list.
You can fix it if you are in that mood :
download the source of unzip60
http://sourceforge.net/projects/infozip/files/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz/download
then apply this patch on it:
Code: [url=][Select][/url]
--- ./process.c
+++ ./process.c
@@ -1751,6 +1751,12 @@
= (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11);
#endif
+#ifdef SYMLINKS
+ /* Initialize the symlink flag, may be set by the platform-specific
+ mapattr function. */
+ G.pInfo->symlink = 0;
+#endif
+
return PK_COOL;
} /* end function process_cdir_file_hdr() */
then build it and install it.
|