Commit be86264a authored by R.K.Garcia's avatar R.K.Garcia
Browse files

Fix missing brace and addpath/MATLABPATH counter-punch

parent 439d57bd
Pipeline #36564 failed with stage
in 4 minutes and 27 seconds
...@@ -2,7 +2,7 @@ FROM gitlab.ssec.wisc.edu:5555/cris_l1b/glue/buildbucket:r20200324 as matlab ...@@ -2,7 +2,7 @@ FROM gitlab.ssec.wisc.edu:5555/cris_l1b/glue/buildbucket:r20200324 as matlab
RUN mkdir -p /opt /work RUN mkdir -p /opt /work
COPY RU /opt/RU COPY RU /opt/RU
RUN cd /opt/RU \ RUN cd /opt/RU \
&& mcc -m cris_gran_RU_ncparam.m && mcc -m ru_main.m
RUN mkdir /work/mcr \ RUN mkdir /work/mcr \
&& cd /work/mcr \ && cd /work/mcr \
......
...@@ -19,7 +19,7 @@ INPUT_FILE="$2" ...@@ -19,7 +19,7 @@ INPUT_FILE="$2"
OUTPUT_FILE="$3" OUTPUT_FILE="$3"
test -n "$SAT" || usagexit test -n "$SAT" || usagexit
test -f "$INPUT_FILE" || echo >&2 "${Oops:?${INPUT_FILE} is not a file" test -f "$INPUT_FILE" || echo >&2 "${Oops:?${INPUT_FILE} is not a file}"
test -n "$OUTPUT_FILE" || echo >&2 "${Oops:?please specify an output filename}" test -n "$OUTPUT_FILE" || echo >&2 "${Oops:?please specify an output filename}"
export MATLABPATH="$RU_HOME" export MATLABPATH="$RU_HOME"
......
function RU = ru_main(sat_name,l1b_fname,saveTotalRU_FLAG,pname_out);
addpath(getenv("RU_HOME"))
RU = cris_gran_RU_ncparam(sat_name,l1b_fname,saveTotalRU_FLAG,pname_out);
return
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment