Commit ee812495 authored by COULAUD Olivier's avatar COULAUD Olivier

Mv i Obsolete

parent a7c7a699
#!/bin/bash
# @SCALFMM_PRIVATE
if [ "$#" -ne 1 ]; then
echo "Use current directory as source"
here="."
else
echo "Use first parameter as source"
here=$1
fi
echo "Makes the files included in $here and below public"
for ext in "cpp" "hpp" "h" "c" ; do
allfiles=`find $here -name \*.$ext -print`
for thefile in $allfiles ; do
echo "Update : $thefile"
grep -v "@SCALFMM_PRIVATE" $thefile > $thefile.$$.tmp
mv $thefile.$$.tmp $thefile
done
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment