[Bps-public-commit] rt-extension-assets-import-csv branch, add-separator-support, updated. 1.4-7-g7117e29

Dave Goehrig dave at bestpractical.com
Tue Apr 11 15:54:48 EDT 2017


The branch, add-separator-support has been updated
       via  7117e29740443227fb5f088e9dd4aca316a56eb3 (commit)
      from  bd39c7f530e1452315935b037ae73bdd401a331f (commit)

Summary of changes:
 bin/rt-assets-import-csv.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 7117e29740443227fb5f088e9dd4aca316a56eb3
Author: Dave Goehrig <dave at bestpractical.com>
Date:   Tue Apr 11 15:53:47 2017 -0400

    fixing bin patch

diff --git a/bin/rt-assets-import-csv.in b/bin/rt-assets-import-csv.in
index 944c309..5eb1ed3 100755
--- a/bin/rt-assets-import-csv.in
+++ b/bin/rt-assets-import-csv.in
@@ -9,7 +9,7 @@ use lib qw(/opt/rt4/local/lib /opt/rt4/lib);
 
 use Getopt::Long;
 my %opt;
-GetOptions( \%opt, 'help|h', 'update|u', 'insert|i', 'debug|d', 'mdy', 'dmy', 'config|c=s' );
+GetOptions( \%opt, 'help|h', 'update|u', 'insert|i', 'debug|d', 'mdy', 'dmy', 'config|c=s', 'separator|s=s' );
 my $file = shift @ARGV;
 
 if ( $opt{help} || !$file ) {
@@ -54,6 +54,7 @@ my ( $created, $updated, $skipped ) = RT::Extension::Assets::Import::CSV->run(
     File        => $file,
     Update      => $opt{update},
     Insert      => $opt{insert},
+    Separator   => $opt{separator},
 );
 
 print <<"EOF";

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list