blob: 506eaa4c23416ef812f8966d85a25a00e68bbfeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-ac,v 1.1.1.1 2001/08/09 07:56:24 simonb Exp $
--- src/skipstone.orig Tue Jan 16 21:16:06 2001
+++ src/skipstone Mon Jul 2 21:43:48 2001
@@ -1,26 +1,3 @@
-#!/bin/bash
-if test -n "$MOZILLA_FIVE_HOME"; then
- LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
- export LD_LIBRARY_PATH
- if [ -f ./skipstone-bin ]; then
- exec ./skipstone-bin $@
- else
- exec skipstone-bin $@
- fi
-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/mozilla
- export MOZILLA_FIVE_HOME=/usr/lib/mozilla
-elif [ -f /usr/local/lib/mozilla/libgtkembedmoz.so ]; then
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/mozilla
- export MOZILLA_FIVE_HOME=/usr/local/lib/mozilla
-else
-
-echo "Please set your MOZILLA_FIVE_HOME and LD_LIBRARY_PATH manually as I could not find them"
- exit
-fi
-
-if [ -f ./skipstone-bin ]; then
- exec ./skipstone-bin $@
-else
- exec skipstone-bin $@
-fi
+#!/bin/sh
+export MOZILLA_FIVE_HOME=@PREFIX@/lib/mozilla
+exec skipstone-bin $@
|