aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-05-20 16:29:21 +0800
committerwill <will@FreeBSD.org>2002-05-20 16:29:21 +0800
commit00c8d9d7c35d373e9c73c607c7e4c8936254be50 (patch)
tree15c924b3103fbc4891b3401be1ef28aff212553c /Tools/scripts
parent46e2f191312db59392355b14d6f5239146d97a9f (diff)
downloadfreebsd-ports-gnome-00c8d9d7c35d373e9c73c607c7e4c8936254be50.tar.gz
freebsd-ports-gnome-00c8d9d7c35d373e9c73c607c7e4c8936254be50.tar.zst
freebsd-ports-gnome-00c8d9d7c35d373e9c73c607c7e4c8936254be50.zip
Track setup.sh usage.
Diffstat (limited to 'Tools/scripts')
-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 ""