Avoid reusing/rewriting the DB connection properties.
There was weird random errors while testing connection to multiple DB in parallel when one of them was meta connection to same DB connection.
Two kinds of exception: 1) missing password 2) „Passing DB password as CLI parameter is insecure!“
4 # Generated - do not edit!
14 NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging
15 TMPDIRNAME=tmp-packaging
16 OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/sql-dk
17 OUTPUT_BASENAME=sql-dk
18 PACKAGE_TOP_DIR=sql-dk/
21 function checkReturnCode
29 function makeDirectory
31 # $2 permission (optional)
41 function copyFileToTmpDir
57 mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package
61 # Copy files and create directories and links
63 makeDirectory "${NBTMPDIR}/sql-dk/bin"
64 copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
69 rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/sql-dk.tar
71 tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/sql-dk.tar *