commit eef3cbd8787094a451bb1c2777388d762b95f4cc
parent 0946592ae75dd5e743de08cfd56ee000267b7fd0
Author: Davide Cervone <dpvc@union.edu>
Date: Tue, 10 Aug 2010 12:01:12 +0000
Update to remove warnings about VERSION not being used
git-svn-id: https://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk@575 b8fd5906-0fad-46e2-a0d3-10d94ff285d1
Diffstat:
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/mathjax-dev/packer/packMJ b/mathjax-dev/packer/packMJ
@@ -1,15 +1,6 @@
#! /usr/local/bin/perl
-# Compresses the MathJax javascript files that have changed
-# since the last compression was performed.
-# Note that the mathjax/font/HTML-CSS/TeX/png font data files
-# are handled separately by packMJfonts.
-# Note also that you need a copy of yuicompressor to be
-# in this directory.
-#
-# Usage: ./packMJ
-
-$SRC = "../../mathjax/unpacked";
+$SRC = "../SourceForge/trunk/mathjax/unpacked";
$DST = $SRC; $DST =~ s!/unpacked$!!;
sub packDir {
@@ -38,7 +29,7 @@ sub packFile {
return if $stime <= $dtime || $ssize <= 1024;
system("./packMJfile '$src' '$dst'");
my $dsize = (stat($dst))[7];
- print "Size: $dsize was: $ssize [saved: ",$ssize-$dsize," or ",
+ print "Size: $dsize, Original: $ssize [",$ssize-$dsize," or ",
sprintf("%.1f",100*($ssize-$dsize)/$ssize),"%]\n";
}