aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-11-30 08:08:17 -0600
committerJacob Pipkin <j@dawnrazor.net>2012-11-30 08:08:17 -0600
commit69ee6249b5de2d5458549af868ac8b5ba5f08b38 (patch)
treeedf0e3b7f0ce3110685ae8d43d541b878da5c5c3
parent50e1eec29f0bd7bb9f9207f5c7c0d3fd6b757d66 (diff)
downloadsbotools2-69ee6249b5de2d5458549af868ac8b5ba5f08b38.tar.xz
fix typo location -> locate, remove broken /-compat32$/ test carried over from old sboupgrade
-rwxr-xr-xsboupgrade5
1 files changed, 1 insertions, 4 deletions
diff --git a/sboupgrade b/sboupgrade
index 775ded9..84babc4 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -109,7 +109,7 @@ if ($no_reqs or $non_int) {
}
for my $sbo (@$build_queue) {
$locations{$sbo} = get_sbo_location ($sbo);
- die "Unable to location $sbo in the SlackBuilds.org tree.\n" unless
+ die "Unable to locate $sbo in the SlackBuilds.org tree.\n" unless
defined $locations{$sbo};
}
@@ -207,9 +207,6 @@ sub process_sbos ($) {
for my $cmd (@$cmds) {
system ($cmd) == 0 or warn "\"$cmd\" exited non-zero\n";
}
- # switch compat32 on if upgrading a -compat32
- # else make sure compat32 is off
- $compat32 = $sbo =~ /-compat32$/ ? 1 : 0;
my ($version, $pkg, $src);
eval { ($version, $pkg, $src) = do_slackbuild (
OPTS => $opts,