IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42730


Ignore:
Timestamp:
Nov 6, 2024, 5:00:36 PM (21 months ago)
Author:
tdeboer
Message:

pointing dist_bundle to the correct compress.mgc file to solve IPP-2201

File:
1 edited

Legend:

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

    r42721 r42730  
    2727
    2828# we can record the location an appropriate magic.mdc file for the file command
    29 # my $file_magic = metadataLookupStr($ipprc->{_siteConfig}, "FILE.MAGIC");
     29my $file_magic = "$ENV{PSCONFDIR}/$ENV{PSCONFIG}/etc/compress.mgc";
    3030### TEST print "magic: $file_magic\n";
    3131### TEST system ("file -m $file_magic o60523g0045o.2132764.wrp.2688740.skycell.1566.004.pswarp.mdc");
     
    684684    my $mdc_compressed;
    685685    {
    686 #        my $command = "$file_cmd -m $file_magic $resolved";
    687         my $command = "$file_cmd $resolved";
     686        my $command = "$file_cmd -m $file_magic $resolved";
     687#        my $command = "$file_cmd $resolved";
    688688        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    689689            run(command => $command, verbose => $verbose);
Note: See TracChangeset for help on using the changeset viewer.