Since we have narya/dist/classes in our classpath, we don't need any
prebuilt narya .jar files. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2248 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
+3
-1
@@ -64,7 +64,9 @@ foreach $dir (@dirs) {
|
||||
next unless (defined $dir);
|
||||
if (opendir(DIR, $dir)) {
|
||||
foreach $lib (grep { /.(zip|jar)/ && -f "$dir/$_" } readdir(DIR)) {
|
||||
$classpath .= ":$dir/$lib";
|
||||
# skip narya-*.jar because we have the narya build directory
|
||||
# in our classpath
|
||||
$classpath .= ":$dir/$lib" unless $lib =~ /narya/;
|
||||
}
|
||||
closedir DIR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user