Purge SXEmacs of tooltalk -- remainding tidy up
[sxemacs] / contrib / 20mirror
1 #!/bin/bash
2
3 # I recommend you either
4 # a) Run in the background and redirect input and output
5 # b) Do neither of that.
6 #
7 # Do `b' because (S)XEmacs has a problem with the hooks otherwise.
8
9
10 echo "Mirroring ${ARCH_BRANCH} in ${ARCH_ARCHIVE}"
11
12 tla archive-mirror \
13     "${ARCH_ARCHIVE}" "${ARCH_ARCHIVE}-MIRROR" \
14     "${ARCH_CATEGORY}"
15
16 if [ $? -ne 0 ]; then
17     echo "Mirroring failed!!"
18     exit 1
19 else
20     echo "Mirroring finished sucessfully."
21     exit 0
22 fi
23