diff options
author | will <will@FreeBSD.org> | 2002-05-20 08:29:21 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2002-05-20 08:29:21 +0000 |
commit | 00c8d9d7c35d373e9c73c607c7e4c8936254be50 (patch) | |
tree | 15c924b3103fbc4891b3401be1ef28aff212553c /Tools | |
parent | 46e2f191312db59392355b14d6f5239146d97a9f (diff) | |
download | FreeBSD-ports-00c8d9d7c35d373e9c73c607c7e4c8936254be50.zip FreeBSD-ports-00c8d9d7c35d373e9c73c607c7e4c8936254be50.tar.gz |
Track setup.sh usage.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/release/README | 2 | ||||
-rwxr-xr-x | Tools/scripts/release/doit.sh | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Tools/scripts/release/README b/Tools/scripts/release/README index 1238ee2..9e1ea5e 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 d2ac491..3e6b549 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 "" |