Skip to content

Commit

Permalink
Remove remove-potcdate.sin from wescamp-import
Browse files Browse the repository at this point in the history
If we delete the remove-potcdate.sin scripts, we may as well remove the paragraph importing them.
  • Loading branch information
aquileia committed Jun 10, 2014
1 parent c19e729 commit ca1e632
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions utils/wescamp_import
Expand Up @@ -53,29 +53,6 @@ find data/campaigns/%(campaign)s -name '*.cfg' -print
find data/campaigns/%(campaign)s -name '*.lua' -print
EOF
cat > po/%(textdomain)s/remove-potcdate.sin <<'EOF'
#Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}
EOF
cat > po/%(textdomain)s/Makevars <<'EOF'
# Makefile variables for PO directory in any package using GNU gettext.
Expand Down

0 comments on commit ca1e632

Please sign in to comment.