aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/darwin_app/Makefile8
-rwxr-xr-xpackages/darwin_app/embed-languages-in-info-list.py2
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 '<string>' + iso + '</string>\\n\\t',
+ print '<string>' + iso + '</string>',