"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cgnstools/cgnsview/cgnsview.sh" between
CGNS-4.1.2.tar.gz and CGNS-4.2.0.tar.gz

About: The CGNS (CFD General Notation System) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations.

cgnsview.sh  (CGNS-4.1.2):cgnsview.sh  (CGNS-4.2.0)
#!/bin/sh #!/bin/sh
# sh script to launch CGNS File viewer/editor # sh script to launch CGNS File viewer/editor
dir=`dirname $0` dir=`dirname $0`
# To let other tools access the file while cgnsview is running
export HDF5_USE_FILE_LOCKING="FALSE"
# source the setup script # source the setup script
for d in $dir $dir/cgnstools $dir/.. ; do for d in $dir $dir/cgnstools $dir/.. ; do
if test -f $d/cgconfig ; then if test -f $d/cgconfig ; then
. $d/cgconfig . $d/cgconfig
break break
fi fi
done done
# get the cgiowish executable # get the cgiowish executable
skipping to change at line 39 skipping to change at line 42
done done
if test -z "$cgiowish" ; then if test -z "$cgiowish" ; then
echo "Error: cgiowish executable not found" echo "Error: cgiowish executable not found"
exit 1 exit 1
fi fi
# find the cgnsview tcl script # find the cgnsview tcl script
cgnsview="" cgnsview=""
for d in $CG_LIB_DIR $dir $dir/cgnstools $dir/cgnsview \ for d in $CG_LIB_DIR $dir $dir/cgnstools $dir/cgnsview \
$dir/../share/cgnstools \
/usr/local/share /usr/local/share/cgnstools ; do /usr/local/share /usr/local/share/cgnstools ; do
if test -f $d/cgnsview.tcl ; then if test -f $d/cgnsview.tcl ; then
cgnsview=$d/cgnsview.tcl cgnsview=$d/cgnsview.tcl
break break
fi fi
done done
if test -z "$cgnsview" ; then if test -z "$cgnsview" ; then
echo "Error: cgnsview.tcl script not found" echo "Error: cgnsview.tcl script not found"
exit 1 exit 1
fi fi
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)