diff --git a/scripts/coding_style.sh b/scripts/coding_style.sh index 63c1f9389..60f6e48d8 100755 --- a/scripts/coding_style.sh +++ b/scripts/coding_style.sh @@ -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 diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh index 914194673..d35b4c53e 100755 --- a/scripts/cppcheck.sh +++ b/scripts/cppcheck.sh @@ -22,5 +22,4 @@ check_code cd ../main check_code -read -p "Press [ENTER] to close terminal" -exit +exit 0 diff --git a/scripts/getrevision.sh b/scripts/getrevision.sh index f3049b541..0246c4638 100755 --- a/scripts/getrevision.sh +++ b/scripts/getrevision.sh @@ -18,4 +18,4 @@ case $1 in ;; esac -exit; +exit 0 diff --git a/scripts/make_ca_bundle.sh b/scripts/make_ca_bundle.sh index 7c35cbf1b..b79d2c043 100755 --- a/scripts/make_ca_bundle.sh +++ b/scripts/make_ca_bundle.sh @@ -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 diff --git a/scripts/plugin_translations.sh b/scripts/plugin_translations.sh index df0aa611e..6ea4e5443 100755 --- a/scripts/plugin_translations.sh +++ b/scripts/plugin_translations.sh @@ -7,5 +7,4 @@ do lupdate $pluginPro -no-obsolete done -read -p "Press [ENTER] to close terminal" -exit +exit 0 diff --git a/scripts/show_lines.sh b/scripts/show_lines.sh index 70cd0b578..e84da47b8 100755 --- a/scripts/show_lines.sh +++ b/scripts/show_lines.sh @@ -1,4 +1,3 @@ #!/bin/bash cd ../src/ && python ../scripts/pythonLineCounter.py -read -p "Press [ENTER] to close terminal" -exit +exit 0 diff --git a/scripts/showppastats.sh b/scripts/showppastats.sh deleted file mode 100755 index 330ca5f11..000000000 --- a/scripts/showppastats.sh +++ /dev/null @@ -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 diff --git a/scripts/translations_update.sh b/scripts/translations_update.sh index b0e0955ee..747fee3d2 100755 --- a/scripts/translations_update.sh +++ b/scripts/translations_update.sh @@ -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