aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-03-03 19:26:08 +0100
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-03-03 19:26:08 +0100
commit30e16a4dff154a228a48ee3924312067be8fa473 (patch)
tree2c2e2d2ec04583686223b2276d663480fb2ad5dc
parentef429a5a5d07bff032ac7e1d45a10c454c54d359 (diff)
downloadcrosstool-ng-30e16a4dff154a228a48ee3924312067be8fa473.tar.gz
crosstool-ng-30e16a4dff154a228a48ee3924312067be8fa473.tar.bz2
crosstool-ng-30e16a4dff154a228a48ee3924312067be8fa473.zip
debug/gdb: chmod ncurses files to u+w
The ncurses-5.7 tarball contains only RO files. We have to chmod them u+w. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
-rw-r--r--scripts/build/debug/300-gdb.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index decc7dab..7e8a4630 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -76,6 +76,7 @@ do_debug_gdb_extract() {
if [ "${do_ncurses}" = "y" ]; then
CT_Extract "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}"
+ CT_DoExecLog ALL chmod -R u+w "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}"
CT_Patch "ncurses" "${CT_DEBUG_GDB_NCURSES_VERSION}"
fi