-
-
Save ytnobody/3962213 to your computer and use it in GitHub Desktop.
env script for carton + perlbrew app on cron
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export HOME=/home/ytnobody | |
cd $HOME/work/myapp | |
. ~/perl5/perlbrew/etc/bashrc | |
perlbrew use perl-5.12.3 | |
export PERL5OPT="-Ilib" | |
exec carton exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment