/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-stripSpaces.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-stripSpaces.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Jun 14 19:49:16 2010 UTC (14 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_0_0-36_el4_sme, e-smith-backup-2_0_0-38_el4_sme, e-smith-backup-2_0_0-33_el4_sme, e-smith-backup-2_0_0-30_el4_sme, e-smith-backup-2_0_0-35_el4_sme, e-smith-backup-2_0_0-32_el4_sme, e-smith-backup-2_0_0-37_el4_sme, e-smith-backup-2_0_0-34_el4_sme, e-smith-backup-2_0_0-29_el4_sme, e-smith-backup-2_0_0-27_el4_sme, e-smith-backup-2_0_0-31_el4_sme, e-smith-backup-2_0_0-28_el4_sme, e-smith-backup-2_0_0-26_el4_sme, HEAD
Strip spaces from Workstation Backup hostname [SME: 5664]

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 2010-06-12 08:22:44.000000000 +0100
3 +++ e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup 2010-06-12 08:28:09.000000000 +0100
4 @@ -1483,7 +1483,7 @@
5
6 my $backupwkStation = $q->param ('backupwkStation');
7 if ( $VFSType eq 'usb') { $backupwkStation = 'localhost' }
8 - if ($backupwkStation =~ /^(.*)$/) {
9 + if ($backupwkStation =~ /^\s*(\S+)\s*$/) {
10 $backupwkStation = $1;
11 } else {
12 $backupwkStation = "";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed