[cig-commits] commit: simplify output of xyz2grd.sh.
Mercurial
hg at geodynamics.org
Fri Apr 12 09:53:44 PDT 2013
changeset: 199:100d9f61e6e3
user: Sylvain Barbot <sbarbot at ntu.edu.sg>
date: Sat Apr 13 00:52:42 2013 +0800
files: util/xyz2grd.sh
description:
simplify output of xyz2grd.sh.
diff -r 738e1d9d551b -r 100d9f61e6e3 util/xyz2grd.sh
--- a/util/xyz2grd.sh Tue Apr 09 12:34:43 2013 +0800
+++ b/util/xyz2grd.sh Sat Apr 13 00:52:42 2013 +0800
@@ -105,7 +105,7 @@ if [ -e $XYZFILE3 ]; then
fi
fi
- echo $self": Created files "$GRDFILE1", "$GRDFILE2", "$GRDFILE3
+ echo $self": Created files "$(basename $GRDFILE1)", "$(basename $GRDFILE2)", "$(basename $GRDFILE3)
else
# single file
XYZFILE=$WDIR/$(basename $ITEM .xyz).xyz
More information about the CIG-COMMITS
mailing list