aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-06-25 23:23:17 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-06-25 23:23:17 +0000
commit8784a39301ecec87022f4d51800fb88f3e2e83e0 (patch)
tree881725b57f4691efc0b6cf747d9310fa99de7141 /Tools
parent3d5c2cff29b0ef4f7633b5cede4cdb873687e2ae (diff)
downloadports-8784a39301ecec87022f4d51800fb88f3e2e83e0.tar.gz
ports-8784a39301ecec87022f4d51800fb88f3e2e83e0.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/makerestr5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/makerestr b/Tools/portbuild/scripts/makerestr
index 8346b863a6f7..81e43c85c77b 100755
--- a/Tools/portbuild/scripts/makerestr
+++ b/Tools/portbuild/scripts/makerestr
@@ -15,6 +15,7 @@ branch=$2
buildid=$3
shift
+. ${pb}/conf/server.conf
. ${pb}/${arch}/portbuild.conf
. ${pb}/scripts/buildenv
@@ -33,6 +34,6 @@ export PORT_DBDIR=/nonexistentport
cd ${PORTSDIR}
make -j4 ECHO_MSG=true clean-restricted-list \
- | sed -e "s./usr/ports/packages/.${builddir}/packages/.g" \
- -e "s./usr/ports/.${builddir}/ports/.g" \
+ | sed -e "s!/usr/ports/packages/!${builddir}/packages/!g" \
+ -e "s!/usr/ports/!${builddir}/ports/!g" \
> ${builddir}/restricted.sh