diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-03 23:46:03 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-03-03 23:46:03 +0100 |
commit | 32fd4c0963bc6c5992c01829623ac0929600f240 (patch) | |
tree | 164c93d1e04c9d376bbffd6760ed154fb7f49c41 /scripts/functions | |
parent | 55052c0d849f2a1e8388418b95007f2bb07ab52e (diff) | |
download | crosstool-ng-32fd4c0963bc6c5992c01829623ac0929600f240.tar.gz crosstool-ng-32fd4c0963bc6c5992c01829623ac0929600f240.tar.bz2 crosstool-ng-32fd4c0963bc6c5992c01829623ac0929600f240.zip |
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>
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/functions b/scripts/functions index 1e876def..f744d53b 100644 --- a/scripts/functions +++ b/scripts/functions @@ -681,11 +681,6 @@ CT_Extract() { *) CT_Abort "Don't know how to handle '${basename}${ext}': unknown extension";; 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 case "${ext}" in /.git) ;; |