summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-28 15:53:26 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-28 15:53:26 +0100
commita934072cf9695e46e793898102590322f43c0733 (patch)
tree6f04f558aec622c4b044fccbe1481db933f8901e /scripts
parentscripts (diff)
downloadrekonq-a934072cf9695e46e793898102590322f43c0733.tar.xz
astyle. First round..
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--]scripts/codingstyle.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/codingstyle.sh b/scripts/codingstyle.sh
index ce24a5a1..f0fb984f 100644..100755
--- a/scripts/codingstyle.sh
+++ b/scripts/codingstyle.sh
@@ -8,6 +8,9 @@
# In rekonq we use some little different rules..
{
+PWD=$(pwd)
+
+cd $PWD
cd ..
cd src
@@ -21,4 +24,4 @@ astyle \
--convert-tabs \
--indent-preprocessor \
`find -type f -name '*.cpp'` `find -type f -name '*.h'`
-} \ No newline at end of file
+}