Commit 1d420b46 authored by yoogx's avatar yoogx

* Adjust to use git

parent 428578e7
......@@ -26,8 +26,8 @@ fi;
if test $# = 0 ; then
echo "Updating headers for changed and new files"
changed_files=`svn status -q | grep "^[M]" | grep '\.\(\([ch]\)\)' | awk '{print $NF}'`
added_files=`svn status -q | grep "^[A]" | grep '\.\(\([ch]\)\)' | awk '{print $NF}'`
changed_files=`git status -s | grep "^\ M" | grep '\.\(\([ch]\)\)' | awk '{print $NF}'`
added_files=`git status -s | grep "^[A]" | grep '\.\(\([ch]\)\)' | awk '{print $NF}'`
# For changed files, update the header
......@@ -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