1 |
snetram |
1.1 |
diff -up e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup.fix-leading-slash-removal e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup |
2 |
|
|
--- e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup.fix-leading-slash-removal 2010-05-11 12:56:40.000000000 +0200 |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/web/functions/backup 2010-05-11 13:48:20.000000000 +0200 |
4 |
|
|
@@ -1494,7 +1494,7 @@ sub updateWorkstnBackupConfig |
5 |
|
|
if ($backupwkFolder =~ /^(.*)$/) { |
6 |
|
|
$backupwkFolder = $1; |
7 |
|
|
mkdir "/$backupwkFolder"; |
8 |
|
|
- $backupwkFolder =~ s/^\//; # remove leading / |
9 |
|
|
+ $backupwkFolder =~ s/^\///; # remove leading / |
10 |
|
|
} else { |
11 |
|
|
$backupwkFolder = ""; |
12 |
|
|
} |