[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/bootstrap,v
From: |
Eric Blake |
Subject: |
Changes to m4/bootstrap,v |
Date: |
Fri, 11 Aug 2006 15:42:59 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/08/11 15:42:58
Index: bootstrap
===================================================================
RCS file: /sources/m4/m4/bootstrap,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- bootstrap 10 Aug 2006 15:59:41 -0000 1.36
+++ bootstrap 11 Aug 2006 15:42:58 -0000 1.37
@@ -251,7 +251,10 @@
po_file=$3
func_echo "getting translations into $subdir for $domain..."
- (cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`) &&
+
+ case $po_file in
+ '') (cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`);;
+ esac &&
$WGET -nv --cache=off -O "$subdir/$domain.html" "$TP_URL$domain" &&
@@ -290,12 +293,12 @@
*.po) POFILE=$1 ;;
*) POFILE=$1.po ;;
esac
- func_get_translations po $package "$POFILE" &&
+ func_get_translations ./po $package "$POFILE" &&
LANG=`expr $POFILE : '\(.*\)\.po'` &&
{ grep -q $LANG po/LINGUAS ||
(echo $LANG; cat po/LINGUAS) | sort -o po/LINGUAS; }
else
- func_get_translations po $package
+ func_get_translations ./po $package
fi
}