$OpenBSD: patch-bin_caribou-preferences_in,v 1.1.1.1 2012/07/08 08:58:44 ajacoutot Exp $

https://bugzilla.gnome.org/show_bug.cgi?id=679583

--- bin/caribou-preferences.in.orig	Sat Sep  3 05:36:58 2011
+++ bin/caribou-preferences.in	Sun Jul  8 10:11:06 2012
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # Antler - a Caribou keyboard implementation
 #
@@ -18,7 +18,7 @@
 # along with this program; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
-script_dir="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
+script_dir="$(dirname "$(readlink -f ${0})")"
 
 prefix=@prefix@
 exec_prefix=@exec_prefix@
