diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 39173e87..740db805 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" |