12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
export KITCREATORFOSSIL WEBROOTDIR MARKERFILE TMPWORKDIR
# Determine change of fossil revision on trunk
FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" children trunk -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME
# Verify sanity
issane=1
if [ -z "${FOSSIL_CHANGE}" ]; then
echo "Unable to determine name of latest revision, likely missing Kitcreator Fossil Repo: ${KITCREATORFOSSIL}" >&2
issane=0
fi
|
>
>
>
|
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
export KITCREATORFOSSIL WEBROOTDIR MARKERFILE TMPWORKDIR
# Determine change of fossil revision on trunk
FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" children trunk -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
TESTNAME="fossil_${FOSSIL_CHANGE}"
export FOSSIL_CHANGE TESTNAME
# Use a specific TclKit when one is needed
export TCLKIT='/home/rkeene/devel/kitcreator/build/web/.tclkit-for-building'
# Verify sanity
issane=1
if [ -z "${FOSSIL_CHANGE}" ]; then
echo "Unable to determine name of latest revision, likely missing Kitcreator Fossil Repo: ${KITCREATORFOSSIL}" >&2
issane=0
fi
|