Permalink
Browse files

Removed code that would never be run

since program will always be `cpanm` (never `perl`).
  • Loading branch information...
ingydotnet committed Sep 17, 2013
1 parent 0448e23 commit 084efa11c6749c8e4d39759ead7a1b4a5c84aa8b
Showing with 0 additions and 13 deletions.
  1. +0 −13 plenv.d/rehash/rehash_cpanm.bash
@@ -9,19 +9,6 @@ set -e
[ -n "\$PLENV_DEBUG" ] && set -x
program="\${0##*/}"
-if [ "\$program" = "perl" ]; then
- for arg; do
- case "\$arg" in
- -e* | -- ) break ;;
- */* )
- if [ -f "\$arg" ]; then
- export PLENV_DIR="\${arg%/*}"
- break
- fi
- ;;
- esac
- done
-fi
export PLENV_ROOT="$PLENV_ROOT"
"$(command -v plenv)" exec "\$program" "\$@"

0 comments on commit 084efa1

Please sign in to comment.