Skip to content

Commit 036c1bc

Browse files
author
Alexander Smishlajev
committed
avoid duplicate $(PACKAGES): "uniq" ain't really unique without "sort"
1 parent aed3e71 commit 036c1bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locale/GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Extract translatable strings from Roundup sources,
22
# update and compile all existing translations
33
#
4-
# $Id: GNUmakefile,v 1.4 2004-05-29 02:22:13 a1s Exp $
4+
# $Id: GNUmakefile,v 1.5 2004-05-29 04:35:03 a1s Exp $
55

66
# tool locations
77
XPOT ?= xpot
@@ -11,7 +11,7 @@ XGETTEXT ?= xgettext
1111

1212
TEMPLATE=roundup.pot
1313

14-
PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|uniq)
14+
PACKAGES=$(shell find ../roundup -name '*.py'|sed -e 's,/[^/]*$$,,'|sort|uniq)
1515
SOURCES=$(PACKAGES:=/*.py)
1616
PO_FILES=$(wildcard *.po)
1717
MO_FILES=$(PO_FILES:.po=.mo)

0 commit comments

Comments
 (0)