IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42721 for trunk/ippScripts


Ignore:
Timestamp:
Sep 14, 2024, 1:54:01 PM (22 months ago)
Author:
eugene
Message:

add comments to show how file magic could be specified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_bundle.pl

    r42403 r42721  
    2525
    2626my $ipprc = PS::IPP::Config->new(); # IPP configuration
     27
     28# we can record the location an appropriate magic.mdc file for the file command
     29# my $file_magic = metadataLookupStr($ipprc->{_siteConfig}, "FILE.MAGIC");
     30### TEST print "magic: $file_magic\n";
     31### TEST system ("file -m $file_magic o60523g0045o.2132764.wrp.2688740.skycell.1566.004.pswarp.mdc");
    2732
    2833use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
     
    679684    my $mdc_compressed;
    680685    {
     686#        my $command = "$file_cmd -m $file_magic $resolved";
    681687        my $command = "$file_cmd $resolved";
    682688        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.