3Rseverity 496369 normal tag 496369 confirmed Dmitry E. Oboukhov wrote: > Binary-package: ampache (3.4.1-1) > file: /usr/share/ampache/www/locale/base/gather-messages.sh
Since this script is only used for translating ampache and not for the general package usage, I'm lowering the severity to "normal". A patch to fix the script by using mktemp is attached. Cheers, Moritz
diff -aur ampache-3.4.1.orig/locale/base/gather-messages.sh ampache-3.4.1/locale/base/gather-messages.sh --- ampache-3.4.1.orig/locale/base/gather-messages.sh 2008-05-31 09:50:23.000000000 +0200 +++ ampache-3.4.1/locale/base/gather-messages.sh 2008-08-22 16:04:47.000000000 +0200 @@ -17,8 +17,11 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # +TMPFILE=`mktemp` -find ../../ -name *.php > /tmp/filelist -find ../../ -name *.inc >> /tmp/filelist +find ../../ -name *.php > $TMPFILE +find ../../ -name *.inc >> $TMPFILE -xgettext -f /tmp/filelist -L PHP -o ./messages.po +xgettext -f $TMPFILE -L PHP -o ./messages.po + +rm $TMPFILE \ Kein Zeilenumbruch am Dateiende.