Mailinglist Archive: yast-commit (190 mails)

< Previous Next >
[yast-commit] r38205 - in /trunk/devtools: VERSION devtools/bin/check-textdomain devtools/bin/gettextdomains package/yast2-devtools.changes
  • From: mvidner@xxxxxxxxxxxxxxxx
  • Date: Wed, 30 May 2007 12:56:56 -0000
  • Message-id: <20070530125656.8486A8939B@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Wed May 30 14:56:56 2007
New Revision: 38205

URL: http://svn.opensuse.org/viewcvs/yast?rev=38205&view=rev
Log:
check-textdomain: Fixed --help and issues with empty lines in POTFILES (#278784).

Modified:
    trunk/devtools/VERSION
    trunk/devtools/devtools/bin/check-textdomain
    trunk/devtools/devtools/bin/gettextdomains
    trunk/devtools/package/yast2-devtools.changes

Modified: trunk/devtools/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/VERSION?rev=38205&r1=38204&r2=38205&view=diff
==============================================================================
--- trunk/devtools/VERSION (original)
+++ trunk/devtools/VERSION Wed May 30 14:56:56 2007
@@ -1 +1 @@
-2.15.0
+2.15.1

Modified: trunk/devtools/devtools/bin/check-textdomain
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/check-textdomain?rev=38205&r1=38204&r2=38205&view=diff
==============================================================================
--- trunk/devtools/devtools/bin/check-textdomain (original)
+++ trunk/devtools/devtools/bin/check-textdomain Wed May 30 14:56:56 2007
@@ -5,8 +5,8 @@
 . $CWD/gettextdomains
 
 
-if [ -z $1 ]; then
-    echo "check-textdomain: no source-directory"
+if ! [ -d "$1" ]; then
+    echo "Usage: check-textdomain source-directory"
     exit 1
 else
     SRCDIR=$1

Modified: trunk/devtools/devtools/bin/gettextdomains
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/bin/gettextdomains?rev=38205&r1=38204&r2=38205&view=diff
==============================================================================
--- trunk/devtools/devtools/bin/gettextdomains (original)
+++ trunk/devtools/devtools/bin/gettextdomains Wed May 30 14:56:56 2007
@@ -44,7 +44,7 @@
     done
 
     # we can specify additional files to .pot creation
-    POTFILES=`test -e $SRCDIR/POTFILES && sed "s,^,$SRCDIR/," < $SRCDIR/POTFILES`
+    POTFILES=`test -e $SRCDIR/POTFILES && grep -v '^$' $SRCDIR/POTFILES | sed "s,^,$SRCDIR/," `
 
     DOMAINS="" ;
     for F in $TR_FILES $POTFILES; do

Modified: trunk/devtools/package/yast2-devtools.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/package/yast2-devtools.changes?rev=38205&r1=38204&r2=38205&view=diff
==============================================================================
--- trunk/devtools/package/yast2-devtools.changes (original)
+++ trunk/devtools/package/yast2-devtools.changes Wed May 30 14:56:56 2007
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed May 30 14:56:36 CEST 2007 - mvidner@xxxxxxx
+
+- check-textdomain: Fixed --help and issues with empty lines
+  in POTFILES (#278784).
+- 2.15.1
+
+-------------------------------------------------------------------
 Thu May 17 12:45:20 CEST 2007 - locilka@xxxxxxx
 
 - Added more words into the YaST dictionary.

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages