Skip to content

Commit 89ba24e

Browse files
committed
Fixed build script.
1 parent 508ede8 commit 89ba24e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

P5/Utilities/tei-install.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Install TEI packages on web site
44
#
5-
# Sebastian Rahtz, May 2014
5+
# Sebastian Rahtz, May 2014
66
# copyright: TEI Consortium
77
# license: GPL
88
#
@@ -17,7 +17,7 @@ install()
1717
${ECHO} mkdir -p ${Vault}/${name}/${version}
1818
echo unpack to ${Vault}/${name}/${version}
1919
${ECHO} unzip -q -o ${pname}-${version}.zip -d ${Vault}/${name}/${version}
20-
case $package in
20+
case $package in
2121
Roma)
2222
${ECHO} unzip -q -o ${pname}-${version}.zip -d /usr/share;;
2323
TEIP5)
@@ -53,7 +53,7 @@ die()
5353
}
5454

5555
Vault=/projects/tei/web/Vault
56-
Jenkins=http://bits.nsms.ox.ac.uk:8080/jenkins/job
56+
Jenkins=http://jenkins.tei-c.org/job
5757
ECHO=
5858
SFUSER=rahtz
5959
version=
@@ -68,27 +68,27 @@ while test $# -gt 0; do
6868
--upload) JOB=upload;;
6969
--makecurrent) JOB=makecurrent;;
7070
--install) JOB=install;;
71-
*) if test "$1" = "${1#--}" ; then
71+
*) if test "$1" = "${1#--}" ; then
7272
break
7373
else
7474
echo "WARNING: Unrecognized option '$1' ignored"
7575
fi ;;
7676
esac
7777
shift
7878
done
79-
if [ -z $version ]
79+
if [ -z $version ]
8080
then
8181
echo You must use the --version option to specify which version of the package you are installing
8282
exit 1
8383
fi
84-
if [ -z $package ]
84+
if [ -z $package ]
8585
then
8686
echo You must use the --package option to specify which package you are installing
8787
exit 1
8888
fi
89-
jenkinsdir=${Jenkins}/${package}/lastSuccessfulBuild/artifact
89+
jenkinsdir=${Jenkins}/${package}/lastSuccessfulBuild/artifact/P5
9090
SFNAME=$package
91-
case $package in
91+
case $package in
9292
TEIP5) name=P5; pname=tei; SFNAME=TEI-P5-all;;
9393
Stylesheets1) name=Stylesheets1; pname=tei-xslt1;;
9494
Stylesheets) name=Stylesheets; pname=tei-xsl;;
@@ -101,11 +101,11 @@ ${ECHO} curl -O -s $jenkinsdir/${pname}-${version}.zip || \
101101
die "Unable to fetch package $jenkinsdir/${pname}-${version}.zip"
102102

103103
echo Selected task is $JOB
104-
case $JOB in
104+
case $JOB in
105105
all) install; makecurrent; upload;;
106106
install) install ;;
107107
makecurrent) makecurrent ;;
108108
upload) upload;;
109109
esac
110110

111-
${ECHO} rm ${pname}-${version}.zip
111+
${ECHO} rm ${pname}-${version}.zip

0 commit comments

Comments
 (0)