1
0
Fork 0

satid, stop prompting

giza-pure
Jeff Moe 2022-08-20 15:20:03 -06:00
parent 2b7415113b
commit a89445dafc
2 changed files with 4 additions and 1 deletions

View File

@ -52,6 +52,9 @@ grep -c -w 'giza.h' $C2GFILE 1>/dev/null || \
grep -c -w 'cpgplot.h' $C2GFILE 1>/dev/null && \
echo -e "Remove cpgplot.h from $C2GFILE\n"
grep -c -w 'giza_close_device' $C2GFILE 1>/dev/null && \
echo -e "Before:\ngiza_close_device\nAdd:\ngiza_stop_prompting ();\nTo: $C2GFILE\n\n"
#sed -i -e 's/cpgimag/giza_render_float/g' $C2GFILE
for i in cpgimag
do grep -c -w $i $C2GFILE 1>/dev/null \

View File

@ -371,9 +371,9 @@ main (int argc, char *argv[])
sprintf (filename, "%s/jsc.txt", env);
plot_satellites (filename, img, 0, img.mjd, img.exptime, 5);
giza_stop_prompting ();
giza_close_device ();
return 0;
}