Kaynağa Gözat

put nytprof dirs in tpsgi dir

George Baugh 5 ay önce
ebeveyn
işleme
b1fd29f5d4
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      bin/tpsgi

+ 2 - 2
bin/tpsgi

@@ -56,9 +56,9 @@ our $app = sub {
 
     # If we have manually set the NYTPROF var, use it and don't try to control
     # When to stop or start it.
-    $ENV{NYTPROF} ||= "sigexit=1:savesrc=0:start=no:file=$options{basedir}/prof/nytprof.out";
+    $ENV{NYTPROF} ||= "sigexit=1:savesrc=0:start=no:file=$options{tpsgi_dir}/prof/nytprof.out";
     require Devel::NYTProf;
-    mkdir "$options{basedir}/prof";
+    mkdir "$options{tpsgi_dir}/prof";
 
     my $self = TPSGI->new(%options);
     return eval { $self->app(@_) } || do {