Code

Updated placeholder handling in templates, case is ignored now.
[gosa.git] / gosa-si / tests / deploy-gosa-si.pl
index f824b5db813a981ede31693891315f8b798c4a42..5d2156815833d080ad1e01becebd7df7fb527799 100755 (executable)
@@ -62,6 +62,7 @@ my %copies = (
         "/usr/lib/gosa-si/client/events/gosaTriggered.pm"  => "client/events/gosaTriggered.pm",
         "/usr/lib/gosa-si/client/events/installation.pm"   => "client/events/installation.pm",
         "/usr/lib/gosa-si/client/events/mailqueue.pm"      => "client/events/mailqueue.pm",
+        "/usr/lib/gosa-si/client/events/load_reporter.pm"  => "client/events/load_reporter.pm",
 );
 
 while( my($new_file, $file_name) = each %copies ) {
@@ -72,8 +73,8 @@ while( my($new_file, $file_name) = each %copies ) {
     print STDERR "$del_cmd\n";
     system($del_cmd);
     
-    
-    my $ln_cmd = "ln -s ".$gosa_path.$file_name." $new_file"; 
+    my $abs_file = File::Spec->catfile($gosa_path, $file_name);
+    my $ln_cmd = "ln -s $abs_file $new_file"; 
     print STDERR "$ln_cmd\n"; 
     system($ln_cmd);