aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-05-20 08:29:21 +0000
committerWill Andrews <will@FreeBSD.org>2002-05-20 08:29:21 +0000
commit94ebfe0c5fc0326e02a71e2744d4edfa7d0e6a84 (patch)
tree429a1a2cde2de8b0c8a959bb0746e360310dbe80 /Tools
parent9c87d2ded4f551bca45ec8fc50a35e1288c05f48 (diff)
downloadports-94ebfe0c5fc0326e02a71e2744d4edfa7d0e6a84.tar.gz
ports-94ebfe0c5fc0326e02a71e2744d4edfa7d0e6a84.zip
Notes
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/release/README2
-rwxr-xr-xTools/scripts/release/doit.sh7
2 files changed, 7 insertions, 2 deletions
diff --git a/Tools/scripts/release/README b/Tools/scripts/release/README
index 1238ee23634b..9e1ea5e2270c 100644
--- a/Tools/scripts/release/README
+++ b/Tools/scripts/release/README
@@ -20,7 +20,7 @@ PWD=`pwd`
3) cd $PWD/releng
4) make RELEASE=4.6-RELEASE SRCSCRIPTDIR=${PWD}/srcscripts
5) cd 4.6-RELEASE
-6) ./doit.sh
+6) ./doit.sh <path to ports/packages to split>
[ answer prompts and stuff as it appears ]
More documentation to come later.
diff --git a/Tools/scripts/release/doit.sh b/Tools/scripts/release/doit.sh
index d2ac491784a8..3e6b54947e02 100755
--- a/Tools/scripts/release/doit.sh
+++ b/Tools/scripts/release/doit.sh
@@ -1,6 +1,7 @@
#!/bin/sh
# $FreeBSD$
+pathtoports=$1
dir=`dirname $0`
if [ "X$dir" = "X." ]; then
dir=`pwd`
@@ -28,7 +29,11 @@ scripts="$dir"
test -d $logs || mkdir -p $logs
if [ ! -d "$ports" ]; then
- $scripts/setup.sh
+ if [ -z "$pathtoports" ]; then
+ echo "Missing path to ports/packages toree to process for setup.sh."
+ exit 1
+ fi
+ $scripts/setup.sh $pathtoports
echo ""
echo "Make sure you tweak $dir/config to suit your needs."
echo ""