]> git.sesse.net Git - kdenlive/blobdiff - reindent.sh
Closing tags, correcting a typo
[kdenlive] / reindent.sh
index 0061a716eeff876e743ea42ac5619d4117d9341b..0233d0c38ad9cfcfeb87ef248880f5252068fcaa 100755 (executable)
@@ -9,7 +9,7 @@ else
        FILES=$(find $SRCDIRS -type f -name \*.cpp -o -name \*.h)
 fi
 
-astyle --indent=spaces=4 --brackets=attach \
+astyle --indent=spaces=4 --brackets=linux \
        --indent-labels --unpad=paren \
        --pad=oper --convert-tabs \
        --indent-preprocessor \
@@ -21,7 +21,7 @@ read del
 if [ "x${del}" = "xy" ]
 then
    echo "removing .orig files"
-   find src -iname "*.orig" -exec rm {} ";"
+   find $SRCDIRS -iname "*.orig" -exec rm {} ";"
 else
    echo "Not deleting .orig files"
 fi