The Solaris /bin/sh does not know "export var=word".

This commit is contained in:
rillig 2006-07-14 15:55:02 +00:00
parent d0c4bcf9dd
commit afedaa26bc
2 changed files with 17 additions and 4 deletions

View file

@ -1,10 +1,10 @@
$NetBSD: distinfo,v 1.8 2006/04/03 15:42:04 jmmv Exp $
$NetBSD: distinfo,v 1.9 2006/07/14 15:55:02 rillig Exp $
SHA1 (dbus-0.61.tar.gz) = fdddc695dad64974fb4138fcb04a77a66f1f47f8
RMD160 (dbus-0.61.tar.gz) = 67306e1a632c1986460e8ead311ae642447cdcc3
Size (dbus-0.61.tar.gz) = 1735729 bytes
SHA1 (patch-aa) = 9dd1f74cbed3ef973612f9a1b1336732a88cd819
SHA1 (patch-ab) = 302e0fe5c1f8482de43de2ad09ba4f15d1ce935d
SHA1 (patch-ac) = 901af7a6a43776f784917bef267786446009ee41
SHA1 (patch-ac) = 4e49a5b2139583540be5f1fc445d61946ddc0ef8
SHA1 (patch-ad) = 31f0321c85296d6431d2db157ff8cc53f8351a04
SHA1 (patch-ae) = c73bed4ec4cca5e7bcdec749ac85ba2c56d8469a

View file

@ -1,7 +1,7 @@
$NetBSD: patch-ac,v 1.2 2006/03/30 20:57:08 jmmv Exp $
$NetBSD: patch-ac,v 1.3 2006/07/14 15:55:02 rillig Exp $
--- tools/run-with-tmp-session-bus.sh.orig 2005-03-17 18:48:29.000000000 +0100
+++ tools/run-with-tmp-session-bus.sh
+++ tools/run-with-tmp-session-bus.sh 2006-07-14 17:38:50.642306696 +0200
@@ -1,10 +1,10 @@
-#! /bin/bash
+#! /bin/sh
@ -24,3 +24,16 @@ $NetBSD: patch-ac,v 1.2 2006/03/30 20:57:08 jmmv Exp $
CONFIG_FILE=./run-with-tmp-session-bus.conf
SERVICE_DIR="$DBUS_TOP_BUILDDIR/test/data/valid-service-files"
@@ -34,9 +34,10 @@ cat $DBUS_TOP_BUILDDIR/bus/session.conf
echo "Created configuration file $CONFIG_FILE" >&2
-export PATH=$DBUS_TOP_BUILDDIR/bus:$PATH
+PATH=$DBUS_TOP_BUILDDIR/bus:$PATH
## the libtool script found by the path search should already do this, but
-export LD_LIBRARY_PATH=$DBUS_TOP_BUILDDIR/dbus/.libs:$LD_LIBRARY_PATH
+LD_LIBRARY_PATH=$DBUS_TOP_BUILDDIR/dbus/.libs:$LD_LIBRARY_PATH
+export PATH LD_LIBRARY_PATH
unset DBUS_SESSION_BUS_ADDRESS
unset DBUS_SESSION_BUS_PID