* Parent of prefix dir not writable
@ 2012-12-04 2:08 Neal Murphy
0 siblings, 0 replies; only message in thread
From: Neal Murphy @ 2012-12-04 2:08 UTC (permalink / raw)
To: crossgcc
Howdy!
A small oddity. I configured ctng to not remove the prefix dir. But the tool
errors out when the parent is not writable. I think this test:
# Check now if we can write to the destination directory:
if [ -d "${CT_INSTALL_DIR}" ]; then
CT_TestAndAbort "Destination directory '${CT_INSTALL_DIR}' is not
removable" ! -w $(dirname "${CT_INSTALL_DIR}")
fi
should also test CT_RM_RF_PREFIX_DIR and do nothing if the var is 'not set'.
Worded differently, if I don't want the prefix dir removed, then it shouldn't
matter if the parent dir is not writable.
Neal
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-04 2:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 2:08 Parent of prefix dir not writable Neal Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).