We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a82ac5 commit fbf4c8bCopy full SHA for fbf4c8b
lib/Perl/Dist/APPerl.pm
@@ -825,10 +825,12 @@ sub InstallBuildDeps {
825
print "mkdir -p $cosmocc\n";
826
make_path($cosmocc);
827
print "cd $cosmocc\n";
828
+ my $before = getcwd();
829
chdir($cosmocc) or die "Failed to chdir $cosmocc";
830
_command_or_die('wget', 'https://cosmo.zip/pub/cosmocc/cosmocc.zip');
831
_command_or_die('unzip', 'cosmocc.zip');
832
print "apperlm install-build-deps: setup cosmocc\n";
833
+ chdir($before) or die "error resetting directory";
834
}
835
836
# (re)write site config
0 commit comments