summaryrefslogtreecommitdiff
path: root/Tools/scripts/release/doit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/release/doit.sh')
-rwxr-xr-xTools/scripts/release/doit.sh7
1 files changed, 6 insertions, 1 deletions
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 ""