Fix extracting tarballs.
/trunk/scripts/functions | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
1.1 --- a/scripts/functions Tue Feb 17 21:05:10 2009 +0000
1.2 +++ b/scripts/functions Thu Feb 19 07:38:32 2009 +0000
1.3 @@ -609,7 +609,11 @@
1.4 esac
1.5
1.6 # Some tarballs have read-only files... :-(
1.7 - chmod -R u+w "${basename}"
1.8 + if [ "${nochdir}" = "nochdir" ]; then
1.9 + chmod -R u+w .
1.10 + else
1.11 + chmod -R u+w "${basename}"
1.12 + fi
1.13
1.14 touch "${CT_SRC_DIR}/.${basename}.extracted"
1.15