diff options
| -rw-r--r-- | remove_svn_tags | 31 | ||||
| -rw-r--r-- | utils/remove_svn_tags.cmd (renamed from remove_svn_tags.cmd) | 0 | ||||
| -rwxr-xr-x | utils/remove_svn_tags.sh | 7 | ||||
| -rwxr-xr-x | utils/update_ts.sh (renamed from update_ts.sh) | 4 |
4 files changed, 9 insertions, 33 deletions
diff --git a/remove_svn_tags b/remove_svn_tags deleted file mode 100644 index 986610968..000000000 --- a/remove_svn_tags +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -###################################### -# Removes svn tags from qmmp package # -###################################### - -rm_dir='.svn' - -walk_dirs(){ - - for file in `ls -a` - do - if [ -d $file ] - then - if [ $file == $rm_dir ] - then - echo "Removing $rm_dir directory..." - rm -rf $rm_dir - elif [[ $file != '.' && $file != '..' ]] - then - echo "Entering $file" - cd $file; - walk_dirs; - cd .. - fi - fi - done - -} - -walk_dirs diff --git a/remove_svn_tags.cmd b/utils/remove_svn_tags.cmd index 2c148fce2..2c148fce2 100644 --- a/remove_svn_tags.cmd +++ b/utils/remove_svn_tags.cmd 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/update_ts.sh b/utils/update_ts.sh index 28e0ec785..c9d7babf7 100755 --- a/update_ts.sh +++ b/utils/update_ts.sh @@ -1,11 +1,11 @@ #!/bin/sh -for file in `find . -name "*.pro"` +for file in `find ../ -name "*.pro"` do ts_pro=`cat $file | grep TRANSLATIONS` if [ "$ts_pro" ] then - lupdate -no-obsolete $file + lupdate -no-obsolete -silent -extensions 'cpp,ui' $file fi done |
