From fd268ea38bc8448e841fde35fcd11740a32492bb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 19 Feb 2009 07:38:32 +0000 Subject: Fix extracting tarballs. /trunk/scripts/functions | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/functions b/scripts/functions index 39173e8..740db80 100644 --- a/scripts/functions +++ b/scripts/functions @@ -609,7 +609,11 @@ CT_Extract() { 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" -- cgit v0.10.2-6-g49f6