system("ln -sf ../../$path ./target/linux/");
} else {
- warn "Package is not valid\n";
+ warn "Target is not valid\n";
return 1;
}
my $force = shift;
my $ret = 0;
- $feed = lookup_target($feed, $name);
- $feed and do {
+ my $this_feed_target = lookup_target($feed, $name);
+ $this_feed_target and do {
$installed_targets{$name} and return 0;
- install_target($feed, $name);
+ install_target($this_feed_target, $name);
return 0;
};
'uninstall' => \&uninstall,
'feed_config' => \&feed_config,
'clean' => sub {
- system("rm -rf feeds");
+ system("rm -rf ./feeds ./package/feeds");
}
);