Parent of prefix dir not writable
Neal Murphy
neal.p.murphy@alum.wpi.edu
Tue Dec 4 02:08:00 GMT 2012
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
More information about the crossgcc
mailing list