Permalink
Browse files

run rm_env when it is commanded

  • Loading branch information...
1 parent a7c9aa3 commit 72bf36c1dd2a7718de40c37c6d0d0cba135058c1 @majuscule majuscule committed Feb 19, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/App/DuckPAN/Cmd/Env.pm
@@ -13,7 +13,11 @@ sub run {
}
$name = uc($name);
if (defined $value) {
- $self->set_env($name,$value);
+ if ($name eq 'RM') {
+ $self->rm_env($value);
+ } else {
+ $self->set_env($name,$value);
+ }
} else {
$self->show_env($name);
}

0 comments on commit 72bf36c

Please sign in to comment.