]> source.dussan.org Git - gitblit.git/commitdiff
Fixed properties path regression in the Build class
authorJames Moger <james.moger@gitblit.com>
Wed, 23 Jan 2013 13:37:11 +0000 (08:37 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 23 Jan 2013 13:37:11 +0000 (08:37 -0500)
src/com/gitblit/build/Build.java

index 21c16298f41e92c8381c1bab97361d5f602cf6ce..3a9ed7513f04c1f10704721b48485728eafc6989 100644 (file)
@@ -245,7 +245,7 @@ public class Build {
                Properties properties = new Properties();\r
                FileInputStream is = null;\r
                try {\r
-                       is = new FileInputStream(Constants.PROPERTIES_FILE);\r
+                       is = new FileInputStream(new File("distrib", Constants.PROPERTIES_FILE));\r
                        properties.load(is);\r
                } catch (Throwable t) {\r
                        t.printStackTrace();\r