diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2009-08-03 08:35:43 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2009-08-04 06:30:46 -0700 |
commit | 9185a61c8a549e26e83d73e6e1fe9c65e5b88707 (patch) | |
tree | 869ba939a44baa593516ad31f06c36a9b5bd89dc | |
parent | 0ce73f84e9f4d992c1108ce2c84718bc0fcada96 (diff) |
mklib: Ensure target directory exists for library
Instead of relying on the Makefile to always generate $(TOP)/$(LIB_DIR),
just have mklib handle creating the directory. This should fix any races
when using parallel make.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
(cherry picked from commit 23671e5358ffc0abfec83aeea9a515b09a6b35f3)
-rwxr-xr-x | bin/mklib | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -971,5 +971,6 @@ esac # if [ ${INSTALLDIR} != "." ] ; then echo "mklib: Installing" ${FINAL_LIBS} "in" ${INSTALLDIR} + test -d ${INSTALLDIR} || mkdir -p ${INSTALLDIR} mv ${FINAL_LIBS} ${INSTALLDIR}/ fi |