mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-05-30 06:14:25 +00:00
Fix extracting tarballs.
/trunk/scripts/functions | 6 5 1 0 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
This commit is contained in:
parent
f920df9c09
commit
fd268ea38b
@ -609,7 +609,11 @@ CT_Extract() {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Some tarballs have read-only files... :-(
|
# 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"
|
touch "${CT_SRC_DIR}/.${basename}.extracted"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user