diff options
author | Erinn Clark <erinn@torproject.org> | 2010-08-21 00:07:04 -0700 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2010-09-30 21:48:28 -0400 |
commit | 951340f5162bfe8906b3acf2d74bb0de5d76a6f2 (patch) | |
tree | 0396749ca9b687b4c94d0952b733514182827440 /contrib | |
parent | a3f488a88773225a1d51d1d5677c8e2279f77cfc (diff) | |
download | tor-951340f5162bfe8906b3acf2d74bb0de5d76a6f2.tar.gz tor-951340f5162bfe8906b3acf2d74bb0de5d76a6f2.zip |
AUTHORS doesn't exist, so stop trying to cp it. Add 'sudo' to a mv that needs higher permissions.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/osx/package.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/osx/package.sh b/contrib/osx/package.sh index 488bd27c1b..2be4498328 100644 --- a/contrib/osx/package.sh +++ b/contrib/osx/package.sh @@ -89,7 +89,6 @@ EOF DOC=$BUILD_DIR/tor_resources/documents mkdir $DOC mkdir $DOC/howto -cp AUTHORS $DOC/AUTHORS.txt groff doc/tor.1.in -T ps -m man | pstopdf -i -o $DOC/tor-reference.pdf groff doc/tor-resolve.1 -T ps -m man | pstopdf -i -o $DOC/tor-resolve.pdf mkdir $DOC/Advanced @@ -145,7 +144,7 @@ cp LICENSE $BUILD_DIR/output/Tor\ License.txt find $BUILD_DIR/output -print0 | sudo xargs -0 chown root:wheel -mv $BUILD_DIR/output "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle" +sudo mv $BUILD_DIR/output "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle" rm -f "Tor-$VERSION-$ARCH-Bundle.dmg" USER="`whoami`" sudo hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder "$BUILD_DIR/Tor-$VERSION-$ARCH-Bundle" "Tor-$VERSION-$ARCH-Bundle.dmg" |