summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-21 21:08:00 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-21 21:08:00 +0000
commit6bd2eb067f0e4cecfbdedb5073640d12e6e86ef7 (patch)
treef60a39cd2f56e518d6e838b62b8c988ba5b9f1e2
parent932ef00aba91a183b7063064c4777e1173252b60 (diff)
Fix building on FreeBSD (FS#8622).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16365 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/lang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lang/Makefile b/apps/lang/Makefile
index d896239290..aae05635e3 100644
--- a/apps/lang/Makefile
+++ b/apps/lang/Makefile
@@ -37,4 +37,4 @@ $(OBJDIR)/%.lng : %.lang $(FEATS)
$(HEADER): $(OUTP)
$(call PRINTS,Make $(HEADER))
- echo "#define MAX_LANGUAGE_SIZE `du -b $(OBJDIR)/* |sort -n |tail -n 1 |cut -f 1`" > $(HEADER)
+ $(SILENT)echo "#define MAX_LANGUAGE_SIZE `ls -l $(OBJDIR)/* | awk '{print $$5}' | sort -n | tail -1`" > $(HEADER)