mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
scripts: do not chmod u+w the whole source directory
Doing a chmod on the whole source dir after every packages are extracted can take a hell of a lot of time. The offending packages are far from legion, and they now have their own chmod u+w to cleanup their own mess... Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
55052c0d84
commit
32fd4c0963
@ -681,11 +681,6 @@ CT_Extract() {
|
|||||||
*) CT_Abort "Don't know how to handle '${basename}${ext}': unknown extension";;
|
*) CT_Abort "Don't know how to handle '${basename}${ext}': unknown extension";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Some tarballs have read-only files... :-(
|
|
||||||
# Because of nochdir, we don't know where we are, so chmod all
|
|
||||||
# the src tree
|
|
||||||
CT_DoExecLog DEBUG chmod -R u+w "${CT_SRC_DIR}"
|
|
||||||
|
|
||||||
# Don't mark as being extracted for git
|
# Don't mark as being extracted for git
|
||||||
case "${ext}" in
|
case "${ext}" in
|
||||||
/.git) ;;
|
/.git) ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user