summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-02-29 09:18:43 +0100
committerJim Meyering <meyering@redhat.com>2008-02-29 13:36:00 +0100
commitd2177c280cb742f88c62fe926270f99cd56985c4 (patch)
tree9853b4ec9495caedff0495d249609e07e844f72b /bootstrap
parent0dc92c8fde31ef72e34dfea875ab2701e166e72d (diff)
downloadcoreutils-d2177c280cb742f88c62fe926270f99cd56985c4.tar.xz
Merge bootstrap changes from gnulib.
* bootstrap (MSGID_BUGS_ADDRESS): Define and use. (version_controlled_file): Use "git rm", not "git-rm".
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 1c0b97ebc..480d40361 100755
--- a/bootstrap
+++ b/bootstrap
@@ -121,6 +121,9 @@ XGETTEXT_OPTIONS='\\\
--flag=error:3:c-format --flag=error_at_line:5:c-format\\\
'
+# Package bug report address for gettext files
+MSGID_BUGS_ADDRESS=bug-$package@gnu.org
+
# Files we don't want to import.
excluded_files=
@@ -406,7 +409,7 @@ version_controlled_file() {
grep -F "/$file/" $dir/CVS/Entries 2>/dev/null |
grep '^/[^/]*/[0-9]' > /dev/null && found=yes
elif test -d .git; then
- git-rm -n "$dir/$file" > /dev/null 2>&1 && found=yes
+ git rm -n "$dir/$file" > /dev/null 2>&1 && found=yes
else
echo "$0: no version control for $dir/$file?" >&2
fi
@@ -580,7 +583,7 @@ if test $with_gettext = yes; then
rm -f po/Makevars
sed '
/^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/
- /^MSGID_BUGS_ADDRESS *=/s/=.*/= bug-'"$package"'@gnu.org/
+ /^MSGID_BUGS_ADDRESS *=/s/=.*/= '"$MSGID_BUGS_ADDRESS"'/
/^XGETTEXT_OPTIONS *=/{
s/$/ \\/
a\