Fix extracting tarballs.

/trunk/scripts/functions |    6     5     1     0 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
This commit is contained in:
Yann E. MORIN" 2009-02-19 07:38:32 +00:00
parent f920df9c09
commit fd268ea38b

View File

@ -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"