Browse Source

remove bash_profile.sh from plack

Lita Gratrix 10 years ago
parent
commit
e0362542e4

+ 0 - 4
frameworks/Perl/plack/bash_profile.sh

@@ -1,4 +0,0 @@
-#!/bin/bash
-
-export PERL_HOME=${IROOT}/perl-5.18
-export NGINX_HOME=${IROOT}/nginx

+ 1 - 0
frameworks/Perl/plack/install.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
+export PERL_HOME=${IROOT}/perl-5.18
 
 fw_depends perl nginx
 

+ 2 - 0
frameworks/Perl/plack/setup.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
+export PERL_HOME=${IROOT}/perl-5.18
+export NGINX_HOME=${IROOT}/nginx
 
 sed -i 's|localhost|'"${DBHOST}"'|g' app.psgi
 sed -i 's|server unix:.*/FrameworkBenchmarks/plack|server unix:'"${TROOT}"'|g' nginx.conf