Revision 4b7b6f3aafa381a64273d081924371c0fb6af161 authored by Balwinder Singh on 06 June 2022, 19:31:57 UTC, committed by Balwinder Singh on 06 June 2022, 19:31:57 UTC
1 parent 68ce6f9
Raw File
build-namelist
#!/usr/bin/env perl
#-----------------------------------------------------------------------------------------------
#
# elm build-namelist driver
#
# Placing all of build-namelist into ELMBuildNamelist.pm means we can unit test the module.
#
require 5;

use strict;

BEGIN {
  # ensure that the cesm create_X scripts can find ELMBuildNamelist.pm
  use File::Basename qw(dirname);
  use Cwd qw(abs_path);
  my $dirname = dirname(abs_path($0));
  my @dirs = ($dirname, );
  unshift @INC, @dirs;
}

use ELMBuildNamelist qw(main);

ELMBuildNamelist::main();
back to top