remove "sudo" command from osx build script

This commit is contained in:
benfry
2007-10-15 00:46:42 +00:00
parent ab834d1dc2
commit 39b29e6c70
2 changed files with 9 additions and 7 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ fi
DEVMASTER=`echo $DEVICES| awk '{ print $1 }'`
DEVHFS=`echo $DEVICES| awk '{ print $5 }'`
echo Copying $FOLDER to /Volumes/$NAME on $DEVMASTER
sudo ditto -rsrcFork "$FOLDER" "/Volumes/$NAME"
#sudo ditto -rsrcFork "$FOLDER" "/Volumes/$NAME"
ditto -rsrcFork "$FOLDER" "/Volumes/$NAME"
if [ $? -ne 0 ]; then
hdiutil eject $DEVMASTER
rm -f $TMPFILE
+7 -6
View File
@@ -1,5 +1,12 @@
0128 pde
X fix macosx dist script to not require root password
X was just a matter of not using sudo to write the image
o hdiutil create -size 5m -fs HFS+ -volname Fooble foo
o To mount the disk-image, without having it appear in the Finder:
o hdiutil attach -nobrowse foo.dmg
o The main advantage is that these don't require root privileges
_ change to jdk14 imports rather than 11 and 12 for preproc
_ auto-delete of sketches might be dangerous
@@ -49,12 +56,6 @@ _ make editor buttons light up and clear properly
_ inside sketch.java, don't hardwire the file extension types
_ arduino uses .c, .cpp, .h instead of .java
_ fix macosx dist script to not require root password
hdiutil create -size 5m -fs HFS+ -volname Fooble foo
To mount the disk-image, without having it appear in the Finder:
hdiutil attach -nobrowse foo.dmg
The main advantage is that these don't require root privileges
_ don't bug the user about new release of p5 when they have it
_ add prefs option for "latest version run"
_ something also to track--people going to older releases