URL:
https://svn.lrde.epita.fr/svn/oln/trunk/milena/sandbox
ChangeLog:
2009-06-08 Edwin Carlinet <carlinet(a)lrde.epita.fr>
Minor changes to move_accu script.
* edwin/move_accu.sh: Minor changes.
---
move_accu.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: trunk/milena/sandbox/edwin/move_accu.sh
===================================================================
--- trunk/milena/sandbox/edwin/move_accu.sh (revision 4009)
+++ trunk/milena/sandbox/edwin/move_accu.sh (revision 4010)
@@ -62,8 +62,9 @@
ACCU="$(echo $accu | tr '[:lower:]' '[:upper:]')"
$SED "s/MLN_ACCU_${ACCU}_HH/MLN_ACCU_${SUB}_${ACCU}_HH/$SED_OPT"
"mln/accu/$sub/$accu.hh"
$SED "s|mln/accu/$accu.hh|mln/accu/$sub/$accu.hh|$SED_OPT" $files
- $SED "s/accu::$accu</accu::$sub::$accu</$SED_OPT" $files
- $SED "s/accu::meta::$accu\([^a-zA-Z_]\)/accu::meta::$sub::$accu\1/$SED_OPT"
$files
+ $SED "s|tests/accu/$accu.cc|tests/accu/$sub/$accu.cc|$SED_OPT" $files
+ $SED "s/accu::$accu\([^a-zA-Z0-9_]\)/accu::$sub::$accu\1/$SED_OPT" $files
+ $SED
"s/accu::meta::$accu\([^a-zA-Z0-9_]\)/accu::meta::$sub::$accu\1/$SED_OPT"
$files
# All.hh & essential.hh update.
$SED "\|# include <mln/accu/$accu.hh>|d" mln/accu/all.hh