summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-08-21 17:35:48 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-08-22 13:01:08 +0200
commitbc45700b1b8a0579502e09b3a7d6ec4c0c96dc8b (patch)
tree9abd585dffadfa9a8f89c72c3883941008868598
parent6a5a460e8a9592ca089ce15b0d2fd641db0c189a (diff)
remove superfluous sort.pl
Change-Id: I5d182aa00c4c0488edb52633392f6747772b7176
-rw-r--r--postprocess/CustomTarget_images.mk2
-rw-r--r--solenv/bin/sort.pl41
2 files changed, 1 insertions, 42 deletions
diff --git a/postprocess/CustomTarget_images.mk b/postprocess/CustomTarget_images.mk
index 8c2963d0a50e..541941c7aaa8 100644
--- a/postprocess/CustomTarget_images.mk
+++ b/postprocess/CustomTarget_images.mk
@@ -61,7 +61,7 @@ $(packimages_DIR)/commandimagelist.ilst :
$(call gb_Helper_abbreviate_dirs, \
find $(SRCDIR)/icon-themes/galaxy/cmd -name "*.png" -o -name "*.svg" | \
sed "s#$(SRCDIR)/icon-themes/galaxy#%MODULE%#" | \
- $(PERL) $(SOLARENV)/bin/sort.pl > $@.$(INPATH) && \
+ LC_ALL=C sort > $@.$(INPATH) && \
$(PERL) $(SOLARENV)/bin/diffmv.pl $@.$(INPATH) $@ \
$(if $(findstring s,$(MAKEFLAGS)),2> /dev/null))
diff --git a/solenv/bin/sort.pl b/solenv/bin/sort.pl
deleted file mode 100644
index 01d2cd18f381..000000000000
--- a/solenv/bin/sort.pl
+++ /dev/null
@@ -1,41 +0,0 @@
-:
-eval 'exec perl -wS $0 ${1+"$@"}'
- if 0;
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-#
-# sort.pl - Simply sort the input from stdin and pipe it to stdout.
-# The sort needs to be *independent* of the settings of
-# LC_ALL resp. LC_COLLATE
-#
-
-use strict;
-# be explicit: we want the perl standard sorting regardless the locale
-no locale;
-
-
-my @buffer;
-
-while(<>) {
- push(@buffer, $_);
-}
-
-foreach (sort @buffer) {
- print $_;
-}