adium-1.4 3182:a2c4259e41c1: Take 2: Try setting the com.apple.T...
commits at adium.im
commits at adium.im
Sat Oct 30 22:48:57 UTC 2010
details: http://hg.adium.im/adium-1.4/rev/a2c4259e41c1
revision: 3182:a2c4259e41c1
author: Evan Schoenberg
date: Sat Oct 30 17:48:36 2010 -0500
Take 2: Try setting the com.apple.TextEncoding xattr on the writable disk image itself
diffs (27 lines):
diff -r a88e6b64e94e -r a2c4259e41c1 Release/Makefile
--- a/Release/Makefile Sat Oct 30 17:40:07 2010 -0500
+++ b/Release/Makefile Sat Oct 30 17:48:36 2010 -0500
@@ -173,9 +173,6 @@
cp $(SRC_DIR)/ChangeLogs/Changes.txt $(ADIUM_DIR)
cp $(SRC_DIR)/License.txt $(ADIUM_DIR)
- @# TextEdit doesn't read the UTF-8 BOM properly; set the encoding manually
- xattr -w com.apple.TextEncoding 'UTF-8;134217984' $(ADIUM_DIR)/Changes.txt
-
@# symlink /Applications
./mkalias -r /Applications $(ADIUM_DIR)/Applications
diff -r a88e6b64e94e -r a2c4259e41c1 Release/make-diskimage.sh
--- a/Release/make-diskimage.sh Sat Oct 30 17:40:07 2010 -0500
+++ b/Release/make-diskimage.sh Sat Oct 30 17:48:36 2010 -0500
@@ -48,6 +48,10 @@
# ./${SHELLSCRIPT} \"${VOLUME_NAME}\"
# fi
+
+@# TextEdit doesn't read the UTF-8 BOM properly; set the encoding manually
+xattr -w com.apple.TextEncoding 'UTF-8;134217984' "/Volumes/${VOLUME_NAME}/Changes.txt"
+
# make sure it's not world writeable
echo "Fixing permissions..."
chmod -Rf go-w "${MOUNT_DIR}" || true
More information about the commits
mailing list