[PATCH] Fix typos and shell for MacOSX packaging scripts

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Tue Oct 2 01:27:26 PDT 2012


/bin/sh can be "anything", so I've forced /bin/bash for good measure. 
Also fixed a couple of typos.

Henrik
-------------- next part --------------
>From d4488ed9c5237920c585e583e7a062f9694e9696 Mon Sep 17 00:00:00 2001
From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
Date: Tue, 2 Oct 2012 10:24:10 +0200
Subject: [PATCH] Fix typos and shell for MacOSX packaging scripts

/bin/sh can be "anything", so I've forced /bin/bash for good measure.
Also fixed a couple of typos.

Signed-off-by: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
---
 packaging/macosx/README        | 2 +-
 packaging/macosx/subsurface.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/packaging/macosx/README b/packaging/macosx/README
index 775b9cf..d83cc0f 100644
--- a/packaging/macosx/README
+++ b/packaging/macosx/README
@@ -9,7 +9,7 @@ You still need to manually build a DMG if you want to easily distribute this.
 
 One important caveat is that (at least with MacPorts) you need to build pango like this:
 
-sudo port install pango +builtin_modules +no_x11 +quart
+sudo port install pango +builtin_modules +no_x11 +quartz
 
 Without the builtin modules the installed application fails to find the modules and doesn't render any text.
 
diff --git a/packaging/macosx/subsurface.sh b/packaging/macosx/subsurface.sh
index ad0bdbd..0652e1a 100755
--- a/packaging/macosx/subsurface.sh
+++ b/packaging/macosx/subsurface.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 if test "x$GTK_DEBUG_LAUNCHER" != x; then
     set -x
@@ -96,7 +96,7 @@ elif test -z $LANG -a -f "$I18NDIR/${APPLELOCALE:0:2}/LC_MESSAGES/$APP.mo"; then
     export LANG="${APPLELOCALE:0:2}"
 fi
 
-#Next we need to set LC_MESSAGES. If at all possilbe, we want a full
+#Next we need to set LC_MESSAGES. If at all possible, we want a full
 #5-character locale to avoid the "Locale not supported by C library"
 #warning from Gtk -- even though Gtk will translate with a
 #two-character code.
-- 
1.7.11.5



More information about the subsurface mailing list