{"issue":{"created_at":"2011-11-25T04:23:05Z","state":"closed","updated_at":"2011-11-25T08:05:41Z","comments":1,"user":{"gravatar_id":"2ad43889d1d9252effaf26c492a08f53","id":821709,"url":"https://api.github.com/users/kmcgrath","login":"kmcgrath","avatar_url":"https://secure.gravatar.com/avatar/2ad43889d1d9252effaf26c492a08f53?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"When passed on the command line setting an ENV varaible will not work this way:\r\n\r\n    PERL_MB_OPT=--install_base /home/kmcgrath/.perlbrew/libs/perl-5.14.2@perlbrew\r\n\r\nNeeds to be:\r\n\r\n    PERL_MB_OPT=\"--install_base /home/kmcgrath/.perlbrew/libs/perl-5.14.2@perlbrew\"\r\n    \r\n## The Error\r\n    $ ./perlbrew use perl-5.14.2@perlbrew\r\n\r\n    A sub-shell is launched with perl-5.14.2@perlbrew as the activated perl. Run 'exit' to finish it.\r\n\r\n    env: /home/kmcgrath/.perlbrew/libs/perl-5.14.2@perlbrew: Permission denied\r\n\r\nTrying to run: /home/kmcgrath/.perlbrew/libs/perl-5.14.2@perlbrew\r\n\r\n\r\n## After Fix\r\n    $ ./perlbrew use perl-5.14.2@perlbrew\r\n\r\n    A sub-shell is launched with perl-5.14.2@perlbrew as the activated perl. Run 'exit' to finish it.\r\n\r\n    $\r\n\r\n","assignee":null,"number":170,"id":2346506,"labels":[],"pull_request":{"patch_url":"https://github.com/gugod/App-perlbrew/pull/170.patch","html_url":"https://github.com/gugod/App-perlbrew/pull/170","diff_url":"https://github.com/gugod/App-perlbrew/pull/170.diff"},"title":"need to quote ENV variable values","closed_at":"2011-11-25T08:01:52Z","html_url":"https://github.com/gugod/App-perlbrew/issues/170","url":"https://api.github.com/repos/gugod/App-perlbrew/issues/170","milestone":null},"action":"created","comment":{"created_at":"2011-11-25T08:05:41Z","updated_at":"2011-11-25T08:05:41Z","user":{"gravatar_id":"4d8c65b603554811079a7ea9b7aab9c0","id":4970,"url":"https://api.github.com/users/gugod","login":"gugod","avatar_url":"https://secure.gravatar.com/avatar/4d8c65b603554811079a7ea9b7aab9c0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Thank you for the patch :)\r\n\r\nBTW you don't need to regen the perlbrew executable since it is only necessary to update it for making a release. I will be doing that occasionally (but I don't know if there's anyone regularly trying the develop branch perlbrew)\r\n\r\nIf you really want to, you should also run `dev-bin/update-fatlib.pl` to generate the `fatlib` dir otherwise something will be missing in the packed executable.","id":2872172,"url":"https://api.github.com/repos/gugod/App-perlbrew/issues/comments/2872172"}}