From 8006d8af1139b1e83ee5320bd56745604db714f0 Mon Sep 17 00:00:00 2001 From: janw Date: Thu, 6 Mar 2008 18:31:00 +0000 Subject: [PATCH] Fix warning. Fix init script - extended tests need bash. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9405 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-common.init | 2 +- gosa-si/gosa-si-server | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gosa-si/debian/gosa-si-common.init b/gosa-si/debian/gosa-si-common.init index d3d6c1454..1c08c9ca0 100755 --- a/gosa-si/debian/gosa-si-common.init +++ b/gosa-si/debian/gosa-si-common.init @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Start/stop the GOsa support daemon infrastructure. # ### BEGIN INIT INFO diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index aed1a8fb5..0933fc3f1 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1365,12 +1365,12 @@ sub resolve_fai_classes { if($class =~ /^ou=.*$/) { next; } else { - my $text = Data::Dumper->new([$fai_classes->{$release}->{$class}])->Purity(1)->Terse(1)->Deepcopy(1)->Dump(); - $tmp_classes->{$class => "nix"}; - eval "$tmp_classes->{$class}->$text;"; - daemon_log("eval $tmp_classes->{$class}->$text;",1); - daemon_log(Dumper($tmp_classes),1); - exit(1); + #my $text = Data::Dumper->new([$fai_classes->{$release}->{$class}])->Purity(1)->Terse(1)->Deepcopy(1)->Dump(); + #$tmp_classes->{$class => "nix"}; + #eval "$tmp_classes->{$class}->$text;"; + #daemon_log("eval $tmp_classes->{$class}->$text;",1); + #daemon_log(Dumper($tmp_classes),1); + #exit(1); } } -- 2.30.2