2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Fill in the comment block at the top of the .pot files and preserve

it when regenerating them.
This commit is contained in:
Todd C. Miller 2013-01-11 17:08:49 -05:00
parent 9479bb623b
commit 70976f30ea
3 changed files with 7 additions and 5 deletions

View File

@ -194,7 +194,9 @@ update-pot:
if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \
rm -f $$pot.tmp; \
else \
mv -f $$pot.tmp $$pot; \
printf '/^#$$/+1,$$d\nw\nq\n' | ed - $$pot; \
sed '1,/^#$$/d' $$pot.tmp >> $$pot; \
rm -f $$pot.tmp; \
fi; \
done; \
fi

View File

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE.
# Portable object template file for the sudoers plugin
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Todd C. Miller <Todd.Miller@courtesan.com>, 2011-2013
#
#, fuzzy
msgid ""

View File

@ -1,6 +1,6 @@
# SOME DESCRIPTIVE TITLE.
# Portable object template file for sudo
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Todd C. Miller <Todd.Miller@courtesan.com>, 2011-2013
#
#, fuzzy
msgid ""