diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-04-05 10:53:00 +0100 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-04-05 10:53:00 +0100 |
commit | 401985292ca89b8b1cfdb73e9eff57aa8b36f5fd (patch) | |
tree | a3f709fb27269d33d02201a0a373bf1ca6093144 /setenv.pl | |
parent | a1d17b7e5bd29a49ef2ab1a274c5921c757f85c0 (diff) |
Fix for vhost deploy
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -69,7 +69,11 @@ else { # we were just required - unload some modules to prevent old code # getting in the way of loading newer code from the newly set directories. - use Class::Unload; + + # use an eval to prevent needing Class::Unload before perl-external properly + # setup + eval { use Class::Unload }; + die $@ if $@; my @modules = sort |