The destination file is already versioned so we just replace the version
information with our regular expression. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2916 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: JNLPDownloader.java,v 1.12 2003/12/15 19:37:32 mdb Exp $
|
// $Id: JNLPDownloader.java,v 1.13 2003/12/15 19:40:11 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.resource;
|
package com.threerings.resource;
|
||||||
|
|
||||||
@@ -190,8 +190,8 @@ public class JNLPDownloader extends Downloader
|
|||||||
|
|
||||||
// attempt to delete any old stale bundles as well
|
// attempt to delete any old stale bundles as well
|
||||||
try {
|
try {
|
||||||
String pathex = ResourceManager.versionPath(
|
String pathex = StringUtil.replace(
|
||||||
_desc.destFile.getPath(), "\\d+.\\d+", ".jar");
|
_desc.destFile.getPath(), _desc.version, "\\d+.\\d+");
|
||||||
String cpath = _desc.destFile.getPath();
|
String cpath = _desc.destFile.getPath();
|
||||||
File pdir = _desc.destFile.getParentFile();
|
File pdir = _desc.destFile.getParentFile();
|
||||||
File[] files = pdir.listFiles();
|
File[] files = pdir.listFiles();
|
||||||
|
|||||||
Reference in New Issue
Block a user