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:
Yann E. MORIN" 2011-03-03 23:46:03 +01:00
parent 55052c0d84
commit 32fd4c0963

View File

@ -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) ;;