[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:56:14 UTC 2009
The following commit has been merged in the upstream branch:
commit f48d0ba5ee3551643ebe6e297feaa2f7fc1c1713
Author: Stephane Popinet <popinet at users.sf.net>
Date: Thu Feb 26 12:41:33 2009 +1100
Fix for hardcoded path in wavewatch module
darcs-hash:20090226014133-d4795-e6ab90eb9d63c9d88141cbcbbec89f5a8e2bb93c.gz
diff --git a/modules/wavewatch.mod b/modules/wavewatch.mod
index 972ed34..44b9ad5 100644
--- a/modules/wavewatch.mod
+++ b/modules/wavewatch.mod
@@ -174,7 +174,7 @@ static void initialize (GfsWave * wave)
char * wdir = getcwd (NULL, 0);
char * command = g_strconcat ("cd ", tmp, " && "
"test -f $HOME/.wwatch3.env && "
- "`grep WWATCH3_DIR /home/popinet/.wwatch3.env | "
+ "`grep WWATCH3_DIR $HOME/.wwatch3.env | "
"awk '{print $2}'`/exe/ww3_grid > ", wdir, "/log_grid.ww3 && "
"mv mod_def.ww3 ", wdir, " && "
"rm -r -f ", tmp,
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list