scripts: do not chmod u+w the whole source directory
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Mar 03 23:46:03 2011 +0100 (2011-03-03)
changeset 2331bbfd61c12916
parent 2330 e5678923ea6d
child 2332 cc0587459152
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>
scripts/functions
     1.1 --- a/scripts/functions	Thu Mar 03 19:32:05 2011 +0100
     1.2 +++ b/scripts/functions	Thu Mar 03 23:46:03 2011 +0100
     1.3 @@ -681,11 +681,6 @@
     1.4          *)            CT_Abort "Don't know how to handle '${basename}${ext}': unknown extension";;
     1.5      esac
     1.6  
     1.7 -    # Some tarballs have read-only files... :-(
     1.8 -    # Because of nochdir, we don't know where we are, so chmod all
     1.9 -    # the src tree
    1.10 -    CT_DoExecLog DEBUG chmod -R u+w "${CT_SRC_DIR}"
    1.11 -
    1.12      # Don't mark as being extracted for git
    1.13      case "${ext}" in
    1.14          /.git)  ;;