[freeside-commits] branch master updated. 4ef0b959f263b506ee1a0d06e69040d7f30a471a

Ivan ivan at 420.am
Thu Aug 7 15:06:56 PDT 2014


The branch, master has been updated
       via  4ef0b959f263b506ee1a0d06e69040d7f30a471a (commit)
      from  29620c88292178979a0ebf1827caf14b3d471536 (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 4ef0b959f263b506ee1a0d06e69040d7f30a471a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Aug 7 15:06:55 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