From 93e45d6a27a36ee9594f9727ac63ba05b7e03715 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 29 Jan 2012 19:35:07 +0000 Subject: force use of built-in sed so testing works with or w/o fink or macports sed svn path=/trunk/; revision=15903 --- packages/darwin_app/Makefile | 8 ++++---- packages/darwin_app/embed-languages-in-info-list.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 92609bb3..857b4775 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -133,10 +133,10 @@ Info.plist: CFBUNDLEVERSION_DATE := $(shell date +%Y.%m.%d) Info.plist: CFBUNDLELOCALIZATIONS := $(shell $(packages_src)/darwin_app/embed-languages-in-info-list.py $(pd_src)/po/Makefile.am) Info.plist: Info.plist.in cat Info.plist.in | \ - sed 's/PD_APP_NAME/$(PD_APP_NAME)/' | \ - sed 's/CFBUNDLESHORTVERSIONSTRING/$(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION)/' | \ - sed 's/CFBUNDLEVERSION/$(CFBUNDLEVERSION_DATE)/' | \ - sed 's|CFBUNDLELOCALIZATIONS|$(CFBUNDLELOCALIZATIONS)|' > \ + /usr/bin/sed 's/PD_APP_NAME/$(PD_APP_NAME)/' | \ + /usr/bin/sed 's/CFBUNDLESHORTVERSIONSTRING/$(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION)/' | \ + /usr/bin/sed 's/CFBUNDLEVERSION/$(CFBUNDLEVERSION_DATE)/' | \ + /usr/bin/sed 's|CFBUNDLELOCALIZATIONS|$(CFBUNDLELOCALIZATIONS)|' > \ Info.plist spotlight_importer_install: diff --git a/packages/darwin_app/embed-languages-in-info-list.py b/packages/darwin_app/embed-languages-in-info-list.py index c2dd28db..5f9acbdc 100755 --- a/packages/darwin_app/embed-languages-in-info-list.py +++ b/packages/darwin_app/embed-languages-in-info-list.py @@ -12,4 +12,4 @@ for line in f.readlines(): iso = s[0] + '_' + s[1].upper() else: iso = po - print '' + iso + '\\n\\t', + print '' + iso + '', -- cgit v1.2.1