mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
16 lines
292 B
Bash
Executable File
16 lines
292 B
Bash
Executable File
#!/bin/sh
|
|
D="$(dirname "$0")"
|
|
D="$(cd "${D}"; pwd)"
|
|
DD="$(dirname "${D}")"
|
|
(
|
|
for f in "${D}/env.sh" "${D}/build.xml"; do
|
|
if [ ! -s "${f}" ]; then
|
|
echo >&2 "$0: Unable to access file '${f}'"
|
|
exit 1
|
|
fi
|
|
done
|
|
. "${D}/env.sh"
|
|
cd "${DD}"
|
|
ant -f "${D}/build.xml" all
|
|
)
|