summaryrefslogtreecommitdiffstats
path: root/Tools/portbuild/scripts/cpdistfiles
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/portbuild/scripts/cpdistfiles')
-rwxr-xr-xTools/portbuild/scripts/cpdistfiles9
1 files changed, 4 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/cpdistfiles b/Tools/portbuild/scripts/cpdistfiles
index b5d7a78..04c8a92 100755
--- a/Tools/portbuild/scripts/cpdistfiles
+++ b/Tools/portbuild/scripts/cpdistfiles
@@ -1,16 +1,15 @@
#!/bin/sh
# configurable variables
-rhost=ftp.freebsd.org
-ruser=asami
-rdir=w/ports/distfiles
-pb=/a/asami/portbuild
+pb=/var/portbuild
+
+. ${pb}/portbuild.conf
unset DISPLAY
# copy one distfile to remote host
cpdistfile () {
- tar -C distfiles -cf - $1 | ssh $rhost -l $ruser tar -C $rdir -xvf -
+ tar -C distfiles -cf - $1 | ssh $ftpsite -l $user tar -C $distfiledir -xvf -
}
echo "================================================"
OpenPOWER on IntegriCloud