diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-29 19:35:07 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-29 19:35:07 +0000 |
commit | 93e45d6a27a36ee9594f9727ac63ba05b7e03715 (patch) | |
tree | 49ab0a2d527876bb26aaf1bb5be14b211969352a | |
parent | 541b2a552b227e4f2d442824ea6562ce3a6cbcef (diff) |
force use of built-in sed so testing works with or w/o fink or macports sed
svn path=/trunk/; revision=15903
-rw-r--r-- | packages/darwin_app/Makefile | 8 | ||||
-rwxr-xr-x | 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 '<string>' + iso + '</string>\\n\\t', + print '<string>' + iso + '</string>', |