Overview
Comment: | nsf/build.sh: Added support for builds from development (GIT) tarballs |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
0e51e4f7c374212d4f174036fc4ed84b |
User & Date: | ssoberni on 2016-09-28 15:53:29 |
Other Links: | manifest | tags |
Context
2016-09-28
| ||
16:05 | nsf/build.sh: Cleaning up check-in: cb92ff30f0 user: ssoberni tags: trunk | |
15:53 | nsf/build.sh: Added support for builds from development (GIT) tarballs check-in: 0e51e4f7c3 user: ssoberni tags: trunk | |
14:24 | KitCreator 0.10.0 check-in: 176640acaf user: rkeene tags: trunk, 0.10.0 | |
Changes
Modified nsf/build.sh from [8ab6337fe5] to [6bd5482853].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | + + + + + + + + + + + + - - - - - + + + + + + + | #! /usr/bin/env bash if [ ! -f 'build.sh' ]; then echo 'ERROR: This script must be run from the directory it is in' >&2 exit 1 fi if [ -z "${TCLVERS}" ]; then echo 'ERROR: The TCLVERS environment variable is not set' >&2 exit 1 fi use_git='0' if echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then use_git='1' GITTAG='master' NSFVERS="${GITTAG}" NSFVERSEXTRA="" SRC="src/nsf${GITTAG}.zip" SRCURL="http://fisheye.openacs.org/browse/~tarball=zip,br=${GITTAG}/nsf/nsf.zip" SRCHASH='-' else |
︙ | |||
39 40 41 42 43 44 45 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | + + + - + + + + + + + + + | fi fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then if [ "${use_git}" = "1" ]; then unzip "../${SRC}" -d nsf${NSFVERS} else |
︙ | |||
118 119 120 121 122 123 124 125 126 127 128 129 130 131 | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | + + + + + + | echo "Running: ${MAKE:-make} install TCLSH=${TCLSH_NATIVE}" ${MAKE:-make} install TCLSH=${TCLSH_NATIVE} || exit 1 ) || continue break done if [ "${use_git}" = "1" ]; then NSFVERS="$(source nsfConfig.sh && echo ${NSF_PATCH_LEVEL})" echo "GITNSFVERS=${NSFVERS}" fi mkdir "${OUTDIR}/lib" || exit 1 cp -r "${INSTDIR}/lib"/nsf*/serialize "${OUTDIR}/lib/nsf${NSFVERS}-serialize" cp -r "${INSTDIR}/lib"/nsf*/lib "${OUTDIR}/lib/nsf${NSFVERS}-lib" cp -r "${INSTDIR}/lib"/nsf*/nx "${OUTDIR}/lib/nsf${NSFVERS}-nx" cp -r "${INSTDIR}/lib"/nsf*/xotcl "${OUTDIR}/lib/nsf${NSFVERS}-xotcl" |
︙ |