From a7360fd23d9744c0a8f8d25199ffa249feb3190d Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Fri, 23 Mar 2018 13:19:54 -0700 Subject: [PATCH] ensure that object file directories used in the build exist --- bin/makeright | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/makeright b/bin/makeright index 0948e15..b00d4ef 100755 --- a/bin/makeright +++ b/bin/makeright @@ -122,6 +122,16 @@ installdir=${RELDIR}install.${osversion}.${architecture}/ # releasename = ${osversion}.${architecture}-${display} #endif +# ensure that the necessary directories exist + +if [ ! -d ../${osversion}.${architecture} ]; then + mkdir ../${osversion}.${architecture} +fi + +if [ ! -d ../${releasename} ]; then + mkdir ../${releasename} +fi + echo start making lde for ${releasename}. # then finally do the make, including the right stuff