Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6b988b

Browse files
committed
Cop out, and set things to be group-writeable recursively. The various
xxxMODE flags don't cut it. Also set the umask to 2 before doing the compileall on the destination system.
1 parent 6a55242 commit b6b988b

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

Mac/OSX/Dist/build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ make
9191
make DIRMODE=775 EXEMODE=775 FILEMODE=664 DESTDIR=$INSTALLROOT frameworkinstall
9292
make DIRMODE=775 EXEMODE=775 FILEMODE=664 DESTDIR=$INSTALLROOT frameworkinstallextras
9393

94+
# Unfortunately all the ...MODE arguments above still don't do the trick.
95+
# Cop out, and recursively set everything group-writeable.
96+
chmod -R ug+w $INSTALLROOT
97+
9498
if [ "$builddocs" = "y" -o "$builddocs" = "Y" ]; then
9599
./python.exe $PYTHONSRC/Mac/OSX/setupDocs.py build
96100
echo ""

Mac/OSX/Dist/resources/Welcome.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This program will install MacPython 2.3b1 for Mac OS X.
1+
This program will install MacPython 2.3b1+ for Mac OS X.
22

33
MacPython consists of the Python programming language interpreter, plus
44
a set of programs to allow easy access to it for Mac users (an

Mac/OSX/Dist/resources/postflight

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ PYVER=2.3
99
PKG=$1
1010
DEST=$2
1111

12+
# Make sure things are group-writeable
13+
umask 2
1214

1315
# if destination is / then use usr/local/bin, otherwise just bin
1416
if [ "$DEST" = "/" ]; then

0 commit comments

Comments
 (0)