Skip to content

Commit

Permalink
Fall back to plain carton if wrapper doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rwstauner committed Sep 16, 2014
1 parent 6ad1f53 commit bc7c50c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/run
Expand Up @@ -2,4 +2,9 @@

# Use the puppet-installed wrapper to set up the env properly.
wrapper=$HOME/bin/metacpan-web-carton
test -x $wrapper && \
exec $wrapper exec "$@"

# If the wrapper doesn't exist, just try it with plain carton.
cd "`dirname "$0"`"/..
exec carton exec "$@"

0 comments on commit bc7c50c

Please sign in to comment.