[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[4897] trunk/installer.pl



Revision: 4897
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4897&view=rev
Author:   einhverfr
Date:     2012-06-15 08:47:37 +0000 (Fri, 15 Jun 2012)
Log Message:
-----------
fix to where installer.pl installs .pl files.
fixes indentation of windows command example

Modified Paths:
--------------
    trunk/installer.pl

Modified: trunk/installer.pl
===================================================================
--- trunk/installer.pl	2012-06-15 08:35:14 UTC (rev 4896)
+++ trunk/installer.pl	2012-06-15 08:47:37 UTC (rev 4897)
@@ -33,7 +33,7 @@
     print "  WEBAPPDIR=/path/to/install perl install.pl\n\n";
     print "If you are on Windows, remember to use forward slashes for paths, " .
            "for example:\n";
-    print "perl install.pl 'C://path/to/install'\n\n";
+    print "  perl install.pl 'C://path/to/install'\n\n";
     die "$msg\n\n";
 }
 
@@ -56,8 +56,9 @@
 File::Copy::Recursive::rcopy_glob('*.pl', 'build/webapp') or die $!;
 rcopy('bin', 'build/webapp/bin') or die $!;
 
-# TODO add other files here that we don't want installed
+# if necessary add other files here that we don't want installed
 unlink "build/weball/installer.pl";
+unlink "build/weball/install_interactive.pl";
 
 mkdir 'build/PM';
 rcopy('LedgerSMB.pm', 'build/PM') or die $!;
@@ -76,7 +77,7 @@
 system('make');
 system('make install');
 
-chdir '../webapp';
+chdir '../..';
 dircopy('build/webapp', $dest_dir);
 fcopy('ledgersmb.conf.default', "$dest_dir/ledgersmb.conf") 
                                           unless -f "$dest_dir/ledgersmb.conf";

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.