Parent Directory | Revision Log | Revision Graph
Fix leading slash removal from network drives [SME: 6831]
1 | wellsi | 1.1 | diff -ruN e-smith-backup-2.0.0.old/root/etc/e-smith/web/functions/backup e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup |
2 | --- e-smith-backup-2.0.0.old/root/etc/e-smith/web/functions/backup 2012-01-15 16:06:39.000000000 +0000 | ||
3 | +++ e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup 2012-01-15 16:57:39.000000000 +0000 | ||
4 | @@ -1505,7 +1505,7 @@ | ||
5 | } | ||
6 | if ($backupwkFolder =~ /^(.*)$/) { | ||
7 | $backupwkFolder = $1; | ||
8 | - $backupwkFolder =~ s/^\//; # remove leading / | ||
9 | + $backupwkFolder =~ s/^\///; # remove leading / | ||
10 | } else { | ||
11 | $backupwkFolder = ""; | ||
12 | } |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |