summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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
+}