Adds rpm specs to migration repo
This commit is contained in:
1 parent
acee7b8766
commit
7f035543e2
145 files changed
+13982
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
# Handler for one indirect fire single object
|
||||
# $Id$
|
||||
# $HeadURL$
|
||||
# $Author$
|
||||
|
||||
if [ $# -lt 1 ] ; then
|
||||
echo "Invalid arg count -> $0 <dir> --> fixup all *.cpp and *.h files found in this directory"
|
||||
echo "Invalid arg count -> $0 <file1> <file2> --> only handle the files given"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d $1 ]; then
|
||||
filelist=`ls -1 $1/*.cpp $1/*.h || true`;
|
||||
else
|
||||
filelist="$@";
|
||||
fi
|
||||
|
||||
for f in $filelist ; do
|
||||
astyle -n -Q -A1 --remove-brackets --indent=spaces=2 --indent-labels --pad-oper --unpad-paren --pad-header --keep-one-line-statements --keep-one-line-blocks --convert-tabs --indent-preprocessor --align-pointer=name --max-instatement-indent=120 $f
|
||||
normalize --modify $f
|
||||
done
|
||||
|
||||
echo "done - now run 'svn diff $f' to review the changes"
|
||||
|
||||
Reference in new issue
Block a user