develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34351 - branches/pdd30_install/tools/dev

From:
rurban
Date:
December 25, 2008 10:38
Subject:
[svn:parrot] r34351 - branches/pdd30_install/tools/dev
Message ID:
20081225183707.8B7CCCBA12@x12.develooper.com
Author: rurban
Date: Thu Dec 25 10:37:06 2008
New Revision: 34351

Modified:
   branches/pdd30_install/tools/dev/install_files.pl

Log:
[install] use $options{libdir} or prefix

Modified: branches/pdd30_install/tools/dev/install_files.pl
==============================================================================
--- branches/pdd30_install/tools/dev/install_files.pl	(original)
+++ branches/pdd30_install/tools/dev/install_files.pl	Thu Dec 25 10:37:06 2008
@@ -206,8 +206,11 @@
     else {
         $dest =~ s|^src/|lib/parrot/src/|;
         next if $dest =~ /^compilers|config|language|tools/;
-        $dest =~ s/^runtime/lib/;
-        $dest = File::Spec->catdir( $options{prefix}, $dest );
+        if (/^runtime/) {
+            $dest =~ s/^runtime/$options{libdir}/;
+        } else {
+            $dest = File::Spec->catdir( $options{prefix}, $dest );
+        }
     }
 
     $dest = File::Spec->catdir( $options{buildprefix}, $dest )



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About