Make directory if it doesn't exist.

This commit is contained in:
Braydon Fuller 2015-07-10 11:57:27 -04:00
parent 1f16fdf724
commit d9ffab3505
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ if test -e "${root_dir}/libbitcoind/src/.libs/libbitcoind.${ext}"; then
fi
cp -R "${root_dir}"/libbitcoind/src/.libs/libbitcoind.*dylib "${os_dir}/lib/"
else
if [ ! -d "${os_dir}" ]; then
mkdir -p "${os_dir}"
fi
cp -P "${root_dir}"/libbitcoind/src/.libs/libbitcoind.so* "${os_dir}/"
fi
fi