freebsd-ports/Tools/portbuild/scripts/upgrademach
Satoshi Asami 0d088a094b Pull in configuration variables from /var/portbuild/portbuild.conf.
/var/portbuild is the new designated home of the portbuild setup, and
is expected to be a symlink to wherever you choose to put the stuff.

Also, change reportload to use /var/portbuild to store temporary files.
Seems there are some bugs in the null mount code that make the files
inaccessible if you are using an NFS root.
2000-09-27 01:41:44 +00:00

14 lines
199 B
Bash
Executable file

#!/bin/sh
# usage: $0 machine
if [ $# != 1 ]; then
echo "usage: $0 machine"
exit 1
fi
unset DISPLAY
script=/var/portbuild/scripts/doupgrademach
scp -q -p $script $1:$script
ssh -n $1 $script