George Baugh 1 ano atrás
pai
commit
1853e3054e
3 arquivos alterados com 3 adições e 4 exclusões
  1. 1 0
      Makefile.PL
  2. 2 1
      bin/deps2hash.sh
  3. 0 3
      service/tpsgi.sh

+ 1 - 0
Makefile.PL

@@ -37,6 +37,7 @@ WriteMakefile(
         "Sys::Hostname" => "0",
         "TPSGI" => "0",
         "UUID" => "0",
+        "Devel::NYTProf" => "0",
         "Starman" => "0",
     },
     test => {TESTS => 't/*.t'}

+ 2 - 1
bin/deps2hash.sh

@@ -2,5 +2,6 @@
 # Because I am LAZY
 echo "PREREQ_PM => {"
 git grep -P 'use \S+;' | sed -e 's/^.*:use //g;s/[(|)|;]//g' | grep -vP 'strict|warnings' | sort | uniq | sed -e 's/\(.*\)/"\1"/;s/$/ => "0",/'
-echo 'Starman => "0"'
+echo '"Devel::NYTProf" => "0",'
+echo 'Starman => "0",'
 echo "}"

+ 0 - 3
service/tpsgi.sh

@@ -1,8 +1,5 @@
 #!/bin/bash
 
-# Make sure this is referring to the right perl env
-source .bashrc
-
 USERNAME=$(bin/tpsgi-config --user)
 [[ -z $USERNAME ]] && USERNAME=$USER
 echo "tPSGI running as user $USERNAME"