aboutsummaryrefslogtreecommitdiff
path: root/sboupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'sboupgrade')
-rwxr-xr-xsboupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboupgrade b/sboupgrade
index c1363c2..1df4f6e 100755
--- a/sboupgrade
+++ b/sboupgrade
@@ -118,7 +118,7 @@ for my $sbo (@sbos) {
my $name = $sbo;
$name =~ s/-compat32//;
$locations{$sbo} = get_sbo_location($name);
- if (not $locations{$sbo} and in(@ARGV, $sbo)) {
+ if (not $locations{$sbo} and in($sbo, @ARGV)) {
usage_error("Unable to locate $sbo in the SlackBuilds.org tree.");
}
if ($sbo =~ /-compat32$/) {