]> Creatis software - clitk.git/blobdiff - make_meta.sh
Debug RTStruct conversion with empty struc
[clitk.git] / make_meta.sh
old mode 100755 (executable)
new mode 100644 (file)
index 29a496e..a1da280
@@ -1,18 +1,18 @@
 #!/bin/bash
 #This script creates the files necessary for developement: vim tags files, doxygen documentation, ...
-ROOT_DIR=$(pwd)
+ROOT_DIR="$(pwd)"
 echo $ROOT_DIR
 #ROOT_DIR=${HOME}/workspace/vv
-cd ${ROOT_DIR}
+cd "${ROOT_DIR}"
 [ "$1" = "--full" ] && doxygen clitk.doxygen&
 
-for i in $(find $(pwd) -type d | grep -v "^\.$")
+find "$(pwd)" -type d | grep -v "^\.$" | while read i
 do
-    cd $i && [ -n "$(find . -maxdepth 1 -name '*.c??')" ] &&
+    cd "$i" && [ -n "$(find . -maxdepth 1 -name '*.c??')" ] &&
     {
         rm .vimrc
-        ln -s ${ROOT_DIR}/.vimrc .
-        ctags -R --languages=c,c++ --exclude=build --langmap=c++:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H.txx --exclude=doc --exclude=tests_jef ${ROOT_DIR} &
+        ln -s "${ROOT_DIR}/.vimrc" .
+        ctags -R --languages=c,c++ --exclude=build --langmap=c++:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H.txx --exclude=doc --exclude=tests_jef "${ROOT_DIR}" &
     }
 done
 wait