bin/change-cvsroot.sh
author Jan Vrany <jan.vrany@labware.com>
Tue, 23 Jun 2020 12:16:02 +0100
changeset 294 0f3980335d2b
parent 0 f46260ba26b1
permissions -rwxr-xr-x
CI: do not archive (and publish) i686 versions any more 32bit Intel is phasing out already - Microsoft is dropping i686 Windows 10, many Linux distros are dropping i686 architecture too. We still build and test 32bit versions, but no longer archive it nor publish it to save space and bandwidth. We might make it available again upon request.

#!/bin/sh
#NEWROOT=:pserver:$(id -un)@cvs.bh.exept.de:/cvs/stx

if [ -z "$1" ]; then
    echo "Common CVS roots:"
    # Do not show these to other people, these are useless for them
    # anyway
    if [ "$USER" = "jv" ]; then
	echo " :ext:vrany@exeptn:/cvs/stx       "
	echo
	echo " :ext:vrany@dialin.exept.de:/cvs/stx           "
	echo
    fi
cat <<EOF
 :pserver:cvs@cvs.smalltalk-x.de:/cvs/stx
     (public eXept CVS, synced once a day. Use this if unsure)

 :ext:swing.fit.cvut.cz/var/local/cvs
     (SWING mirror. Use this if you have shell account
      on swing.fit.cvut.cz)

EOF
    echo -n "Enter new CVS root (or Ctrl-C to abort): "
    read answer
else
    answer="$1"
fi

if [ ! -z "$answer" ]; then
    echo "$answer" > /tmp/chcvs.$$
    find . -name CVS -type d -exec cp /tmp/chcvs.$$ {}/Root \;
    rm /tmp/chcvs.$$
else
    echo "Nothing changed"
    exit 1	
fi