sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit aec4fa7100b77112f2e74def10e7ccb55da097b0
parent b1e943c7731906bb2ec37959e8f962acd3922968
Author: Jacob Pipkin <d4wnr4z0r@yahoo.com>
Date:   Tue,  8 May 2012 02:26:42 -0500

more variable name snafus

Diffstat:
MSBO-Lib/lib/SBO/Lib.pm | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -503,8 +503,8 @@ sub rewrite_slackbuild { unless exists $_[1]; my ($slackbuild,%changes) = @_; copy ($slackbuild,"$slackbuild.old"); - tie @sb,'Tie::File',$slackbuild; - FIRST: for (my $line = @arch) { + tie my @sb,'Tie::File',$slackbuild; + FIRST: for (my $line = @sb) { SECOND: for (my ($key,$value) = %changes) { if ($key eq 'out_arch') { if (index ($line,'makepkg') != -1) {