# HG changeset patch # User "Yann E. MORIN" # Date 1235029112 0 # Node ID 11df94e12b580cb105b358178e25a8cf7d012c02 # Parent 61e11b37185a5b5c25fdb26981a21ec45be7504f Fix extracting tarballs. /trunk/scripts/functions | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -r 61e11b37185a -r 11df94e12b58 scripts/functions --- a/scripts/functions Tue Feb 17 21:05:10 2009 +0000 +++ b/scripts/functions Thu Feb 19 07:38:32 2009 +0000 @@ -609,7 +609,11 @@ esac # Some tarballs have read-only files... :-( - chmod -R u+w "${basename}" + if [ "${nochdir}" = "nochdir" ]; then + chmod -R u+w . + else + chmod -R u+w "${basename}" + fi touch "${CT_SRC_DIR}/.${basename}.extracted"