Changeset 23606
- Timestamp:
- Mar 30, 2009, 1:59:44 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ippScripts/scripts/register_imfile.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippScripts/scripts/register_imfile.pl
r23532 r23606 112 112 113 113 # we require at a minimum: -telescope, -inst, -filelevel, -class_id, -exp_type 114 if (uc(&value_for_flag ($cmdflags, "-telescope")) == 0) { &my_die ("telescope not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }115 if (uc(&value_for_flag ($cmdflags, "-inst")) == 0) { &my_die ("inst not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }116 if (uc(&value_for_flag ($cmdflags, "-filelevel")) == 0) { &my_die ("filelevel not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }117 if (uc(&value_for_flag ($cmdflags, "-class_id")) == 0) { &my_die ("class_id not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }118 if (uc(&value_for_flag ($cmdflags, "-exp_type")) == 0) { &my_die ("exp_type not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); }114 if (uc(&value_for_flag ($cmdflags, "-telescope")) eq "NULL") { &my_die ("telescope not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 115 if (uc(&value_for_flag ($cmdflags, "-inst")) eq "NULL") { &my_die ("inst not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 116 if (uc(&value_for_flag ($cmdflags, "-filelevel")) eq "NULL") { &my_die ("filelevel not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 117 if (uc(&value_for_flag ($cmdflags, "-class_id")) eq "NULL") { &my_die ("class_id not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 118 if (uc(&value_for_flag ($cmdflags, "-exp_type")) eq "NULL") { &my_die ("exp_type not found", $exp_id, $tmp_exp_name, $tmp_class_id, $uri, $PS_EXIT_CONFIG_ERROR); } 119 119 120 120 my $command = "$regtool -addprocessedimfile";
Note:
See TracChangeset
for help on using the changeset viewer.
