summaryrefslogtreecommitdiffstats
path: root/Mac/OSX
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-06-18 21:28:44 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-06-18 21:28:44 (GMT)
commitfc3542f67843093674783cc9276ce0d513cb1a26 (patch)
tree839305a4716e93ac3266e67899bb332f7bd89c5e /Mac/OSX
parentbefa37dd05050ecce9637d81ebe9d8d74688129c (diff)
downloadcpython-fc3542f67843093674783cc9276ce0d513cb1a26.zip
cpython-fc3542f67843093674783cc9276ce0d513cb1a26.tar.gz
cpython-fc3542f67843093674783cc9276ce0d513cb1a26.tar.bz2
- Create TMPDIR only if it doesn't exist yet
- Set the installer to use our permissions, not influenced by the umask.
Diffstat (limited to 'Mac/OSX')
-rwxr-xr-xMac/OSX/Dist/build5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/OSX/Dist/build b/Mac/OSX/Dist/build
index c830eae..9c77e7c 100755
--- a/Mac/OSX/Dist/build
+++ b/Mac/OSX/Dist/build
@@ -48,7 +48,9 @@ else
mkdir -p $BUILDROOT
fi
rm -rf $DMGDIR
-mkdir $TMPDIR
+if [ ! -e $TMPDIR ]; then
+ mkdir $TMPDIR
+fi
chgrp admin $TMPDIR
mkdir -p $DMGDIR/root
@@ -118,6 +120,7 @@ python $PYTHONSRC/Mac/scripts/buildpkg.py \
--NeedsAuthorization="YES" \
--Relocatable="NO" \
--InstallOnly="YES" \
+ --UseUserMask="NO" \
$INSTALLROOT \
$RESOURCEDIR