# HG changeset patch # User Xerxes R?nby # Date 1302552979 -7200 # Node ID 65812348191d4e45616d03b3a77293d0576603a8 # Parent 17afcf8034a67aa226b2f98265ec6f55f361f751 PR667: Ika repsoitories can't accept relative paths. * plugins/borg/IcedRobotCloner.java: --dest= can now accept relative paths. diff -r 17afcf8034a6 -r 65812348191d src/main/java/org/icedrobot/ika/plugins/borg/IcedRobotCloner.java --- a/src/main/java/org/icedrobot/ika/plugins/borg/IcedRobotCloner.java Mon Apr 11 01:50:51 2011 +0200 +++ b/src/main/java/org/icedrobot/ika/plugins/borg/IcedRobotCloner.java Mon Apr 11 22:16:19 2011 +0200 @@ -70,6 +70,13 @@ if (options.has("dest")) { destinationDir = (String) options.valueOf("dest"); + File dest = new File(destinationDir); + + try { + destinationDir = dest.getCanonicalPath(); + } catch (IOException ex) { + throw new IkaPluginException(ex.getMessage(), ex); + } } if (options.has("icedrobot")) {