45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
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
if [ -d 'buildsrc' ]; then
# Override here to avoid downloading tarball from Fossil if we
# have a particular tree already available.
use_fossil='0'
fi
|
>
>
>
|
>
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
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'
if echo "${TCLVERS}" | grep '^fossil_.*_tk=' >/dev/null; then
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_.*_tk=//g')
else
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
fi
fi
if [ -d 'buildsrc' ]; then
# Override here to avoid downloading tarball from Fossil if we
# have a particular tree already available.
use_fossil='0'
fi
|