Changeset 1777 for branches/2.2.5


Ignore:
Timestamp:
Nov 9, 2007, 1:31:12 AM (12 years ago)
Author:
bruno
Message:

Fix syntax errors in mindi-bkphw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/mindi-bkphw

    r1771 r1777  
    11#!/usr/bin/perl -w
     2#
     3# $Id$
    24#
    35# Backup the hardware configuration on machine supporting it
     
    5254        }
    5355        if ($tool =~ /\/conrep$/) {
    54             $ret = system("(cd $tooldir ; $tool -s -f$bkpdir/conrep.dat)");
    55             print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat)");
     56            $ret = system("cd $tooldir ; $tool -s -f$bkpdir/conrep.dat");
     57            print SCRIPT "(cd $tooldir ; $tool -l -f$bkpdir/conrep.dat)\n");
    5658            print TOOLS "$tool.xml\n";
    5759        }
    5860        if ($tool =~ /\/cpqacuxe$/) {
    5961            $ret = system("$tool -c $bkpdir/cpqacuxe.dat");
    60             print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat)");
     62            print SCRIPT "$tool -i $bkpdir/cpqacuxe.dat\n");
    6163            print TOOLS "$tooldir/bld\n";
    6264        }
    6365        if ($tool =~ /\/hponcfg$/) {
    6466            $ret = system("$tool -w $bkpdir/hponcfg.dat");
    65             print SCRIPT "$tool -r $bkpdir/hponcfg.dat");
     67            print SCRIPT "$tool -r $bkpdir/hponcfg.dat\n";
    6668        }
    6769        if ($tool =~ /\.scexe$/) {
    68             print SCRIPT "$tool");
     70            print SCRIPT "$tool\n");
    6971        }
    7072        if ($ret != 0) {
Note: See TracChangeset for help on using the changeset viewer.