1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Minor changes in scripts.

This commit is contained in:
nowrep 2013-01-21 22:38:31 +01:00
parent 01f07a4a2a
commit 992c7a4de1
8 changed files with 10 additions and 35 deletions

View File

@ -10,7 +10,7 @@ function format_sources {
--convert-tabs --indent-preprocessor --break-closing-brackets \
--align-pointer=type --align-reference=name \
`find -type f -name '*.cpp'`
find . -name "*.orig" -print0 | xargs -0 rm -rf
}
@ -21,7 +21,7 @@ function format_headers {
--indent-preprocessor --convert-tabs \
--align-pointer=type --align-reference=name \
`find -type f -name '*.h'`
find . -name "*.orig" -print0 | xargs -0 rm -rf
}
@ -31,6 +31,5 @@ format_sources
echo "running astyle for *.h ..."
format_headers
read -p "Press [ENTER] to close terminal"
exit
exit 0

View File

@ -22,5 +22,4 @@ check_code
cd ../main
check_code
read -p "Press [ENTER] to close terminal"
exit
exit 0

View File

@ -18,4 +18,4 @@ case $1 in
;;
esac
exit;
exit 0

View File

@ -4,5 +4,4 @@
cat /usr/share/ca-certificates/*/*.crt > ../src/lib/data/data/ca-bundle.crt
cat /etc/ssl/certs/*.pem >> ../src/lib/data/data/ca-bundle.crt
read -p "Press [ENTER] to close terminal"
exit
exit 0

View File

@ -7,5 +7,4 @@ do
lupdate $pluginPro -no-obsolete
done
read -p "Press [ENTER] to close terminal"
exit
exit 0

View File

@ -1,4 +1,3 @@
#!/bin/bash
cd ../src/ && python ../scripts/pythonLineCounter.py
read -p "Press [ENTER] to close terminal"
exit
exit 0

View File

@ -1,19 +0,0 @@
#!/bin/bash
TEAM="nowrep"
PACKAGE="qupzilla"
echo ""
echo "Launchpad PPA Statistics"
echo "Team: $TEAM"
echo "Package: $PACKAGE"
echo ""
echo "Oneiric: i386: " $(python ppastats.py $TEAM $PACKAGE oneiric i386|tail -c -2);
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE oneiric amd64|tail -c -2);
echo ""
echo "Natty: i386: " $(python ppastats.py $TEAM $PACKAGE natty i386|tail -c -2);
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE natty amd64|tail -c -2);
echo ""
echo "Maverick: i386: " $(python ppastats.py $TEAM $PACKAGE maverick i386|tail -c -2);
echo " amd64: " $(python ppastats.py $TEAM $PACKAGE maverick amd64|tail -c -2);
echo ""
read -p "Press [ENTER] to close terminal"
exit

View File

@ -13,5 +13,4 @@ lupdate $ARGUMENTS ../src/lib/lib.pro -ts ../translations/empty.ts
## uncomment it now
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
read -p "Press [ENTER] to close terminal"
exit
exit 0