summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ""