diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-08-25 10:39:34 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-08-25 10:39:34 +0000 |
| commit | 29a618d971982acc6c5754f894fa16e29e49d1f7 (patch) | |
| tree | 0b12995b4ad8ac677ee52a10979ad0088335614a /utils | |
| parent | bf8c9f56f922b0fb2c1642febfff3769a48e1d5c (diff) | |
| download | qmmp-29a618d971982acc6c5754f894fa16e29e49d1f7.tar.gz qmmp-29a618d971982acc6c5754f894fa16e29e49d1f7.tar.bz2 qmmp-29a618d971982acc6c5754f894fa16e29e49d1f7.zip | |
moved some scripts to separate directory
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2897 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/remove_svn_tags.cmd | 1 | ||||
| -rwxr-xr-x | utils/remove_svn_tags.sh | 7 | ||||
| -rwxr-xr-x | utils/update_ts.sh | 12 |
3 files changed, 20 insertions, 0 deletions
diff --git a/utils/remove_svn_tags.cmd b/utils/remove_svn_tags.cmd new file mode 100644 index 000000000..2c148fce2 --- /dev/null +++ b/utils/remove_svn_tags.cmd @@ -0,0 +1 @@ +for /d /r %%B in (.svn) do rmdir /s /q %%B
diff --git a/utils/remove_svn_tags.sh b/utils/remove_svn_tags.sh new file mode 100755 index 000000000..2334f385d --- /dev/null +++ b/utils/remove_svn_tags.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +###################################### +# Removes svn tags from qmmp package # +###################################### + +find ../ -type d -name ".svn" | xargs rm -rf diff --git a/utils/update_ts.sh b/utils/update_ts.sh new file mode 100755 index 000000000..c9d7babf7 --- /dev/null +++ b/utils/update_ts.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +for file in `find ../ -name "*.pro"` +do + ts_pro=`cat $file | grep TRANSLATIONS` + if [ "$ts_pro" ] + then + lupdate -no-obsolete -silent -extensions 'cpp,ui' $file + fi + +done + |
