James Moger
2011-07-12 9cf48d26e7c95306844a2f8e640cd691de3be220
Fix to build method.
2 files modified
5 ■■■■■ changed files
build.xml 3 ●●●● patch | view | raw | blame | history
src/com/gitblit/build/Build.java 2 ●●● patch | view | raw | blame | history
build.xml
@@ -2,7 +2,8 @@
<project name="gitblit" default="compile" basedir=".">
    <!-- Google Code upload task -->
    <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
    <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask"
        classpath="${basedir}/tools/ant-googlecode-0.0.3.jar" name="gcupload"/>
    <!-- Project Properties -->
    <property name="project.jar" value="gitblit.jar" />
src/com/gitblit/build/Build.java
@@ -313,7 +313,7 @@
        String anim = "==========";
        int width = Math.round(anim.length() * progress);
        System.out.print("\r[");
        System.out.print(anim.substring(0, width));
        System.out.print(anim.substring(0, Math.min(width, anim.length())));
        for (int i = 0; i < anim.length() - width; i++) {
            System.out.print(' ');
        }