projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tool to search for bonds
[physik/posic.git]
/
pair_corr_calc_script
diff --git
a/pair_corr_calc_script
b/pair_corr_calc_script
index
7f25a74
..
b005960
100755
(executable)
--- a/
pair_corr_calc_script
+++ b/
pair_corr_calc_script
@@
-27,7
+27,11
@@
fi
if [ "$3" = "g" ]; then
-pdir=`dirname $1`
+if [ -d $1 ]; then
+ pdir=$1
+else
+ pdir=`dirname $1`
+fi
pfile=$pdir/pair_corr.scr
cat > $pfile <<-EOF