[freeside-commits] branch FREESIDE_3_BRANCH updated. c6ad1f88f86e6dc8f99916f7a922ddf29c1e48bd
Ivan
ivan at 420.am
Thu Aug 7 15:06:58 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via c6ad1f88f86e6dc8f99916f7a922ddf29c1e48bd (commit)
from f5e2b6062646e5b7df6f0be4645656903d299ded (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c6ad1f88f86e6dc8f99916f7a922ddf29c1e48bd
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Aug 7 15:06:57 2014 -0700
fix aradial usage import (Net::SFTP::Foreign and cachedir), RT#29053
diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import
index e6af710..1306712 100755
--- a/bin/aradial-sftp_and_import
+++ b/bin/aradial-sftp_and_import
@@ -6,6 +6,7 @@ use strict;
use Getopt::Std;
use Text::CSV_XS;
use DBI;
+use Net::SFTP::Foreign;
#use FS::UID qw( adminsuidsetup datasrc );
our %aradial2db = (
@@ -44,7 +45,7 @@ my $user = shift or die &usage;
# %%%FREESIDE_CACHE%%% & hardcoded datasrc
#my $cachedir = '%%%FREESIDE_CACHE%%%/cache.'. datasrc. '/cdrs';
-my $cachedir = '%%%FREESIDE_CACHE%%%/cache.DBI:Pg:dbname=freeside/cdrs';
+my $cachedir = '/usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/cdrs';
mkdir $cachedir unless -d $cachedir;
my $servername = shift or die &usage;
-----------------------------------------------------------------------
Summary of changes:
bin/aradial-sftp_and_import | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list