[pve-devel] r5737 - pve-manager/pve2/bin
svn-commits at proxmox.com
svn-commits at proxmox.com
Mon Mar 21 10:39:45 CET 2011
Author: dietmar
Date: 2011-03-21 10:39:45 +0100 (Mon, 21 Mar 2011)
New Revision: 5737
Modified:
pve-manager/pve2/bin/pvesh
Log:
Modified: pve-manager/pve2/bin/pvesh
===================================================================
--- pve-manager/pve2/bin/pvesh 2011-03-21 09:31:37 UTC (rev 5736)
+++ pve-manager/pve2/bin/pvesh 2011-03-21 09:39:45 UTC (rev 5737)
@@ -60,8 +60,7 @@
sub complete_path {
my($text) = @_;
- my ($dir, undef, $rest) = $text =~ m|^(.+/)?(([^/]*))?$|;
-
+ my ($dir, undef, $rest) = $text =~ m|^(.*/)?(([^/]*))?$|;
my $path = abs_path($cdir, $dir);
my @res = ();
More information about the pve-devel
mailing list