Commit b908f01a authored by yoogx's avatar yoogx

* Move from svn to git

parent 83086cfc
......@@ -23,11 +23,11 @@ cd ${work_dir}
if test $# = 0 ; then
echo "Updating headers for changed and new files"
changed_files=`svn status -q | grep "^[M]" | grep '\.\(\(ad[bs]\)\|\(gpr\)\)' | awk '{print $NF}'`
changed_files=`git status -s | grep "^\ M" | grep '\.\(\(ad[bs]\)\|\(gpr\)\)' | awk '{print $NF}'`
added_files=`svn status -q | grep "^[A]" | grep '\.\(\(ad[bs]\)\|\(gpr\)\)' | awk '{print $NF}'`
# For changed files, update the header
for i in ${changed_files}; do
......@@ -43,7 +43,7 @@ if test $# = 0 ; then
else
if test x${1} = xall ; then
echo "Updating headers for all files"
find . -name "*.adb" -exec ${script_dir}/headers_ocarina $1 '{}' \;
find . -name "*.ads" -exec ${script_dir}/headers_ocarina $1 '{}' \;
find . -name "*.gpr" -exec ${script_dir}/headers_ocarina $1 '{}' \;
......@@ -54,4 +54,3 @@ else
fi
exit 0
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