[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2879] branches/1.2
- Subject: SF.net SVN: ledger-smb:[2879] branches/1.2
- From: ..hidden..
- Date: Wed, 10 Feb 2010 01:24:06 +0000
Revision: 2879
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2879&view=rev
Author: einhverfr
Date: 2010-02-10 01:24:06 +0000 (Wed, 10 Feb 2010)
Log Message:
-----------
Accepting anarcat's exchangerate patch
Modified Paths:
--------------
branches/1.2/LedgerSMB/Form.pm
branches/1.2/dists/rpm/build.sh
Modified: branches/1.2/LedgerSMB/Form.pm
===================================================================
--- branches/1.2/LedgerSMB/Form.pm 2010-02-09 22:49:49 UTC (rev 2878)
+++ branches/1.2/LedgerSMB/Form.pm 2010-02-10 01:24:06 UTC (rev 2879)
@@ -545,13 +545,16 @@
}
my $numberformat = $myconfig->{numberformat};
- if ( ( $numberformat eq '1.000,00' )
- || ( $numberformat eq '1000,00' ) )
+ if ( $numberformat eq '1.000,00' )
{
$amount =~ s/\.//g;
$amount =~ s/,/./;
}
+ if ( $numberformat eq '1000,00' )
+ {
+ $amount =~ s/,/./;
+ }
if ( $numberformat eq '1 000.00' ) {
$amount =~ s/\s//g;
}
Modified: branches/1.2/dists/rpm/build.sh
===================================================================
--- branches/1.2/dists/rpm/build.sh 2010-02-09 22:49:49 UTC (rev 2878)
+++ branches/1.2/dists/rpm/build.sh 2010-02-10 01:24:06 UTC (rev 2879)
@@ -2,7 +2,7 @@
# One must run the source file build first.
-cp ../release/ledger-sm*.tar.gz /usr/src/redhat/SOURCES/
+cp ../release/ledgersm*.tar.gz /root/rpmbuild/SOURCES/
rpmbuild -ba dists/rpm/ledgersmb.spec
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.