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

SF.net SVN: ledger-smb:[3399] trunk/tools/prepare-company-database.sh



Revision: 3399
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3399&view=rev
Author:   ehuelsmann
Date:     2011-07-01 09:34:59 +0000 (Fri, 01 Jul 2011)

Log Message:
-----------
Allow disabling of CoA file by setting it to 'none'.

Modified Paths:
--------------
    trunk/tools/prepare-company-database.sh

Modified: trunk/tools/prepare-company-database.sh
===================================================================
--- trunk/tools/prepare-company-database.sh	2011-07-01 09:07:15 UTC (rev 3398)
+++ trunk/tools/prepare-company-database.sh	2011-07-01 09:34:59 UTC (rev 3399)
@@ -224,7 +224,7 @@
   $srcdir/sql/modules/Roles.sql | $psql_cmd 2>&1 | unchatter
 
 
-if test -n "$coa" ; then
+if ! test "$coa" = "none" ; then
   # Load a chart of accounts
   cat $coa | $psql_cmd 2>&1 | unchatter
   if test -n "$gifi" ; then


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