33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
if [ "${FOSSILTAG}" = "HEAD" ]; then
FOSSILTAG="trunk"
fi
elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
use_fossil='1'
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
fi
export FOSSILTAG
if [ -d 'buildsrc' ]; then
# Override here to avoid downloading tarball from Fossil if we
# have a particular tree already available.
use_fossil='0'
|
|
|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
if [ "${FOSSILTAG}" = "HEAD" ]; then
FOSSILTAG="trunk"
fi
elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
use_fossil='1'
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g;s/_tk=.*$//g')
fi
export FOSSILTAG
if [ -d 'buildsrc' ]; then
# Override here to avoid downloading tarball from Fossil if we
# have a particular tree already available.
use_fossil='0'
|