[Kde-extra-gear] extragear/scripts
    Aurélien Gâteau 
    aurelien.gateau at free.fr
       
    Sun Nov 26 11:12:33 CET 2006
    
    
  
SVN commit 607912 by gateau:
Argh... my last commit broke generation of i18n packages:
doc/ is a dir so it must be tested with '-d', but doc/Makefile.am is a file so
it should be tested with '-f'.
Hope I didn't break anyone packages (except mines).
CCMAIL: kde-extra-gear at kde.org
 M  +2 -2      createPackage.sh  
--- trunk/extragear/scripts/createPackage.sh #607911:607912
@@ -480,10 +480,10 @@
 {
     print "         Creating Makefile.am in $1."
     CONTENTS="SUBDIRS="
-    if [ -d "$1/messages" ]; then
+    if [ -f "$1/messages/Makefile.am" ]; then
         CONTENTS="$CONTENTS messages"
     fi
-    if [ -d "$1/doc" ]; then
+    if [ -f "$1/doc/Makefile.am" ]; then
         CONTENTS="$CONTENTS doc";
     fi
     echo $CONTENTS > $1/Makefile.am
    
    
More information about the Kde-extra-gear
mailing list