aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-17 00:25:14 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-17 00:25:14 +0000
commita7924a93089588b0ae3692ac6f3d95788fe3b5c8 (patch)
tree5340436e404bb729d45497d1340d3a0bab54580e /Tools
parent10e3ce1cdc7d6efaa89f2656b50a637de535921f (diff)
downloadports-a7924a93089588b0ae3692ac6f3d95788fe3b5c8.tar.gz
ports-a7924a93089588b0ae3692ac6f3d95788fe3b5c8.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages16
1 files changed, 12 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages
index 87cbe231abb9..43b5490a1656 100755
--- a/Tools/portbuild/scripts/dopackages
+++ b/Tools/portbuild/scripts/dopackages
@@ -20,7 +20,7 @@ errorexit () {
}
usage () {
- echo "usage: [-continue] [-nofinish] [-finish] [-restart] [-ftp] [-cdrom] [-nodummy] [-nobuild] [-noindex] [-noduds] [-nocvsup] [-nocvs] [-noportscvs] [-norestr] [-plistcheck] branch date"
+ echo "usage: [-continue] [-nofinish] [-finish] [-restart] [-ftp] [-cdrom] [-nodummy] [-nobuild] [-noindex] [-noduds] [-nocvsup] [-nocvs] [-noportscvs] [-norestr] [-plistcheck] [-distfiles] branch date"
errorexit 1
}
@@ -204,6 +204,7 @@ restart=0
cont=0
finish=0
nofinish=0
+dodistfiles=0
# optional arguments
while [ $# -gt 2 ]; do
@@ -241,6 +242,9 @@ while [ $# -gt 2 ]; do
x-ftp)
ftp=1
;;
+ x-distfiles)
+ dodistfiles=1
+ ;;
x-continue)
cont=1
;;
@@ -281,6 +285,10 @@ if [ "$norestr" = 1 ]; then
export NO_RESTRICTED=1
fi
+if [ "$dodistfiles" = 1 ]; then
+ export WANT_DISTFILES=1
+fi
+
if [ "$plistcheck" = 1 ]; then
export PLISTCHECK=1
fi
@@ -305,7 +313,7 @@ if [ "$skipstart" = 0 ]; then
cvs -qR update -PAd
# XXX Check for conflicts
fi
- date > ${pb}/${arch}/cvsdone
+ date > ${pb}/${arch}/${branch}/cvsdone
echo "================================================"
echo "running cvs update on ${pb}/${arch}/doc"
@@ -424,8 +432,8 @@ if [ "$skipstart" = 0 ]; then
# chown -RL ${user} errors logs packages
echo "error logs in ${pb}/${arch}/archive/errorlogs/e.${branch}.${date}"
- cp -p ${pb}/${arch}/cvsdone ${pb}/${arch}/archive/errorlogs/e.${branch}.${date}/cvsdone
- cp -p ${pb}/${arch}/cvsdone ${pb}/${arch}/archive/errorlogs/a.${branch}.${date}/cvsdone
+ cp -p ${pb}/${arch}/${branch}/cvsdone ${pb}/${arch}/archive/errorlogs/e.${branch}.${date}/cvsdone
+ cp -p ${pb}/${arch}/${branch}/cvsdone ${pb}/${arch}/archive/errorlogs/a.${branch}.${date}/cvsdone
cp -p ${pb}/${arch}/${branch}/ports/${INDEXFILE} ${pb}/${arch}/archive/errorlogs/e.${branch}.${date}/INDEX
cp -p ${pb}/${arch}/${branch}/ports/${INDEXFILE} ${pb}/${arch}/archive/errorlogs/a.${branch}.${date}/INDEX