From: Derrick Brashear Date: Wed, 9 Jul 2003 19:54:51 +0000 (+0000) Subject: STABLE12-macos-pkg-update-csdb-20030709 X-Git-Tag: openafs-stable-1_2_10~13 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c91f7a8a80769bff1bb6e70f6ac3f435e58e98e2;p=packages%2Fo%2Fopenafs.git STABLE12-macos-pkg-update-csdb-20030709 update the cellservdb while we build packages (cherry picked from commit c59e18c174569393ada98bb2ff1ab80c51c07b2b) --- diff --git a/src/packaging/MacOS/buildpkg.sh b/src/packaging/MacOS/buildpkg.sh index d0ec614c9..183a7e576 100644 --- a/src/packaging/MacOS/buildpkg.sh +++ b/src/packaging/MacOS/buildpkg.sh @@ -17,6 +17,10 @@ if grep -q 'set resDir = ""' /usr/bin/package ; then exit 1 fi +if [ -x /usr/bin/curl ]; then + /usr/bin/curl -f -O http://www.central.org/dl/cellservdb/CellServDB +fi + if [ ! -f CellServDB ]; then echo "A CellServDB file must be placed in the working directory" die=1