head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.4.0.18
	RELENG_9_1_0_RELEASE:1.1.1.4
	RELENG_9_1:1.1.1.4.0.16
	RELENG_9_1_BP:1.1.1.4
	RELENG_8_3_0_RELEASE:1.1.1.4
	RELENG_8_3:1.1.1.4.0.14
	RELENG_8_3_BP:1.1.1.4
	RELENG_9_0_0_RELEASE:1.1.1.4
	RELENG_9_0:1.1.1.4.0.12
	RELENG_9_0_BP:1.1.1.4
	RELENG_9:1.1.1.4.0.10
	RELENG_9_BP:1.1.1.4
	RELENG_7_4_0_RELEASE:1.1.1.3.2.1
	RELENG_8_2_0_RELEASE:1.1.1.4
	RELENG_7_4:1.1.1.3.2.1.0.8
	RELENG_7_4_BP:1.1.1.3.2.1
	RELENG_8_2:1.1.1.4.0.8
	RELENG_8_2_BP:1.1.1.4
	RELENG_8_1_0_RELEASE:1.1.1.4
	RELENG_8_1:1.1.1.4.0.6
	RELENG_8_1_BP:1.1.1.4
	RELENG_7_3_0_RELEASE:1.1.1.3.2.1
	RELENG_7_3:1.1.1.3.2.1.0.6
	RELENG_7_3_BP:1.1.1.3.2.1
	RELENG_8_0_0_RELEASE:1.1.1.4
	RELENG_8_0:1.1.1.4.0.4
	RELENG_8_0_BP:1.1.1.4
	RELENG_8:1.1.1.4.0.2
	RELENG_8_BP:1.1.1.4
	RELENG_7_2_0_RELEASE:1.1.1.3.2.1
	RELENG_7_2:1.1.1.3.2.1.0.4
	RELENG_7_2_BP:1.1.1.3.2.1
	RELENG_7_1_0_RELEASE:1.1.1.3.2.1
	RELENG_6_4_0_RELEASE:1.1.1.2.14.2
	RELENG_7_1:1.1.1.3.2.1.0.2
	RELENG_7_1_BP:1.1.1.3.2.1
	RELENG_6_4:1.1.1.2.14.2.0.2
	RELENG_6_4_BP:1.1.1.2.14.2
	v5_6_20080503:1.1.1.4
	RELENG_7_0_0_RELEASE:1.1.1.3
	v5_6_20080209:1.1.1.4
	RELENG_6_3_0_RELEASE:1.1.1.2.14.1
	v5_6_20071222:1.1.1.4
	RELENG_7_0:1.1.1.3.0.4
	RELENG_7_0_BP:1.1.1.3
	RELENG_6_3:1.1.1.2.14.1.0.2
	RELENG_6_3_BP:1.1.1.2.14.1
	RELENG_7:1.1.1.3.0.2
	RELENG_7_BP:1.1.1.3
	v5_6_20061217:1.1.1.3
	RELENG_6_2_0_RELEASE:1.1.1.2
	RELENG_6_2:1.1.1.2.0.22
	RELENG_6_2_BP:1.1.1.2
	RELENG_5_5_0_RELEASE:1.1.1.2
	RELENG_5_5:1.1.1.2.0.20
	RELENG_5_5_BP:1.1.1.2
	RELENG_6_1_0_RELEASE:1.1.1.2
	RELENG_6_1:1.1.1.2.0.18
	RELENG_6_1_BP:1.1.1.2
	RELENG_6_0_0_RELEASE:1.1.1.2
	RELENG_6_0:1.1.1.2.0.16
	RELENG_6_0_BP:1.1.1.2
	RELENG_6:1.1.1.2.0.14
	RELENG_6_BP:1.1.1.2
	RELENG_5_4_0_RELEASE:1.1.1.2
	RELENG_5_4:1.1.1.2.0.12
	RELENG_5_4_BP:1.1.1.2
	RELENG_4_11_0_RELEASE:1.1.1.1.2.1
	RELENG_4_11:1.1.1.1.2.1.0.18
	RELENG_4_11_BP:1.1.1.1.2.1
	RELENG_5_3_0_RELEASE:1.1.1.2
	RELENG_5_3:1.1.1.2.0.10
	RELENG_5_3_BP:1.1.1.2
	RELENG_5:1.1.1.2.0.8
	RELENG_5_BP:1.1.1.2
	RELENG_4_10_0_RELEASE:1.1.1.1.2.1
	RELENG_4_10:1.1.1.1.2.1.0.16
	RELENG_4_10_BP:1.1.1.1.2.1
	RELENG_5_2_1_RELEASE:1.1.1.2
	RELENG_5_2_0_RELEASE:1.1.1.2
	RELENG_5_2:1.1.1.2.0.6
	RELENG_5_2_BP:1.1.1.2
	RELENG_4_9_0_RELEASE:1.1.1.1.2.1
	RELENG_4_9:1.1.1.1.2.1.0.14
	RELENG_4_9_BP:1.1.1.1.2.1
	RELENG_5_1_0_RELEASE:1.1.1.2
	RELENG_5_1:1.1.1.2.0.4
	RELENG_5_1_BP:1.1.1.2
	RELENG_4_8_0_RELEASE:1.1.1.1.2.1
	RELENG_4_8:1.1.1.1.2.1.0.12
	RELENG_4_8_BP:1.1.1.1.2.1
	RELENG_5_0_0_RELEASE:1.1.1.2
	RELENG_5_0:1.1.1.2.0.2
	RELENG_5_0_BP:1.1.1.2
	RELENG_4_7_0_RELEASE:1.1.1.1.2.1
	RELENG_4_7:1.1.1.1.2.1.0.10
	RELENG_4_7_BP:1.1.1.1.2.1
	RELENG_4_6_2_RELEASE:1.1.1.1.2.1
	RELENG_4_6_1_RELEASE:1.1.1.1.2.1
	v5_2_20020615:1.1.1.2
	RELENG_4_6_0_RELEASE:1.1.1.1.2.1
	RELENG_4_6:1.1.1.1.2.1.0.8
	RELENG_4_6_BP:1.1.1.1.2.1
	v5_2_20020518:1.1.1.2
	RELENG_4_5_0_RELEASE:1.1.1.1.2.1
	RELENG_4_5:1.1.1.1.2.1.0.6
	RELENG_4_5_BP:1.1.1.1.2.1
	RELENG_4_4_0_RELEASE:1.1.1.1.2.1
	RELENG_4_4:1.1.1.1.2.1.0.4
	RELENG_4_4_BP:1.1.1.1.2.1
	v5_2_20010512:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.1.2.1
	RELENG_4_3:1.1.1.1.2.1.0.2
	RELENG_4_3_BP:1.1.1.1.2.1
	RELENG_4_2_0_RELEASE:1.1.1.1.2.1
	v5_1_20001009:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.1.2.1
	PRE_SMPNG:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.1.2.1
	v5_1_20000701:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.1
	RELENG_4:1.1.1.1.0.2
	RELENG_4_BP:1.1.1.1
	v5_0:1.1.1.1
	v5_0_990821:1.1.1.1
	NCURSES:1.1.1;
locks; strict;
comment	@# @;


1.1
date	99.08.24.01.06.41;	author peter;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.08.24.01.06.41;	author peter;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;

1.1.1.2
date	2000.07.03.09.23.20;	author peter;	state Exp;
branches
	1.1.1.2.14.1;
next	1.1.1.3;

1.1.1.3
date	2007.01.20.07.32.01;	author rafan;	state Exp;
branches
	1.1.1.3.2.1;
next	1.1.1.4;

1.1.1.4
date	2007.12.30.11.08.13;	author rafan;	state Exp;
branches
	1.1.1.4.18.1;
next	;

1.1.1.1.2.1
date	2000.07.10.09.54.29;	author ps;	state Exp;
branches;
next	;

1.1.1.2.14.1
date	2007.04.06.17.49.54;	author rafan;	state Exp;
branches;
next	1.1.1.2.14.2;

1.1.1.2.14.2
date	2008.07.01.09.28.27;	author rafan;	state Exp;
branches;
next	;

1.1.1.3.2.1
date	2008.06.04.07.42.51;	author rafan;	state Exp;
branches;
next	;

1.1.1.4.18.1
date	2007.12.30.11.08.13;	author svnexp;	state dead;
branches;
next	1.1.1.4.18.2;

1.1.1.4.18.2
date	2013.03.28.13.01.41;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#!/bin/sh
##############################################################################
# Copyright (c) 1998 Free Software Foundation, Inc.                          #
#                                                                            #
# Permission is hereby granted, free of charge, to any person obtaining a    #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation  #
# the rights to use, copy, modify, merge, publish, distribute, distribute    #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the  #
# following conditions:                                                      #
#                                                                            #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software.                        #
#                                                                            #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
# DEALINGS IN THE SOFTWARE.                                                  #
#                                                                            #
# Except as contained in this notice, the name(s) of the above copyright     #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written               #
# authorization.                                                             #
##############################################################################
#
# Author: Thomas E. Dickey <dickey@@clark.net> 1996
#
# $Id: shlib,v 1.5 1998/05/31 00:29:38 mooney Exp $
# Use this script as a wrapper when running executables linked to shared
# libraries on systems that use the $LD_LIBRARY_PATH variable and don't embed
# the soname's path within the linked executable (such as IRIX), e.g,
#
#	shlib knight
#
# Setting LD_LIBRARY_PATH, overrides/supplements the loader's normal search
# path, and works on most systems.  The drawback is that then the environment
# variable has to be set to run the programs within this directory tree.
#
# For Linux (and other systems using the GNU loader), we can use the rpath
# directive, which embeds the pathname of the library within the executable.
# Using the Linux loader's rpath directive introduces a constraint, since
# it's embedded into the binary, and means that the binary cannot be moved
# around (though it'll work if the $exec_prefix convention that puts the bin
# and lib directories under the same parent is followed).
#
# Using the actual soname (e.g., ../lib/libncurses.so) alone, is a more
# flexible solution; you can link without having to set the environment
# variable, and on some systems (IRIX) you can even run the resulting binaries
# without setting LD_LIBRARY_PATH.
#
# Using a conventional link, with -L and -l options on Linux results in a
# statically linked executable, which we don't want at all.
#

#
# Make sure that we use the PATH that was set in run_tic.sh
#
if test X$NEWPATH != X ; then
	PATH=$NEWPATH
	export PATH
fi

q=""
for p in lib ../lib
do
	if test -d $p; then
		q="$p"
	fi
done
if test -n "$q" ; then
	if test -n "$LD_LIBRARY_PATH"; then
		LD_LIBRARY_PATH="$q:$LD_LIBRARY_PATH"
	else
		LD_LIBRARY_PATH="$q"
	fi
	export LD_LIBRARY_PATH
fi
eval "$*"
@


1.1.1.1
log
@Import unmodified (but trimmed) ncurses 5.0 prerelease 990821.
This contains the full eti (panel, form, menu) extensions.
bmake glue to follow.

Obtained from:	ftp://ftp.clark.net/pub/dickey/ncurses
@
text
@@


1.1.1.1.2.1
log
@MFC: ncurses 5.1 prerelease (20000701)
@
text
@d3 1
a3 1
# Copyright (c) 1998,2000 Free Software Foundation, Inc.                     #
d32 1
a32 1
# $Id: shlib,v 1.6 2000/05/20 23:01:17 tom Exp $
a57 3
# Special cases:
#
#	BeOS R4.5 uses $LIBRARY_PATH rather than $LD_LIBRARY_PATH.
a76 2
	elif test -n "$LIBRARY_PATH" ; then
		LIBRARY_PATH="$q:$LIBRARY_PATH"
@


1.1.1.2
log
@Import the most recent ncurses 5.1 prerelease (20000701).
Mostly this is intended to resolve the trace() badness once and for all.

Obtained from:  ftp://dickey.his.com/ncurses/
@
text
@d3 1
a3 1
# Copyright (c) 1998,2000 Free Software Foundation, Inc.                     #
d32 1
a32 1
# $Id: shlib,v 1.6 2000/05/20 23:01:17 tom Exp $
a57 3
# Special cases:
#
#	BeOS R4.5 uses $LIBRARY_PATH rather than $LD_LIBRARY_PATH.
a76 2
	elif test -n "$LIBRARY_PATH" ; then
		LIBRARY_PATH="$q:$LIBRARY_PATH"
@


1.1.1.2.14.1
log
@MFC: ncurses 5.6-20061217

Approved by:	delphij (mentor)
Tested by:	several people on stable@@
@
text
@d3 1
a3 1
# Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.                #
d32 1
a32 1
# $Id: shlib,v 1.10 2005/06/25 22:41:17 tom Exp $
d61 1
a61 2
#	Cygwin uses $PATH
#	Mac OS X uses $DYLD_LIBRARY_PATH
d63 1
a63 5
# Other cases not handled by this script:
#
#	AIX uses $LIBPATH
#	IRIX64 may use $LD_LIBRARY64_PATH or $LD_LIBRARYN32_PATH
#	Solaris may use $LD_LIBRARY_PATH_64
d65 2
a66 5
CDPATH=
#
# Make sure that we use the PATH that was set in run_tic.sh
if test -n "$SHLIB_PATH" ; then
	PATH=$SHLIB_PATH
a69 1
# Find the lib-directory for this build tree
d71 1
a71 1
for p in lib ../lib ../../lib ../../../lib
d74 1
a74 3
		q=`cd $p; pwd`
	elif test -f configure && test ! -d ../$p ; then
		break
a76 2

# Set the environment variable.
d78 2
a79 5
	system=
	if test -n "$SHLIB_HOST" ; then
		system="$SHLIB_HOST"
	elif test -n "$PATHEXT" ; then
		system=cygwin
d81 1
a81 5
		system=beos
	elif test -n "$DYLD_LIBRARY_PATH" ; then
		system=darwin
	elif test -n "$LD_LIBRARY_PATH"; then
		system=unix
d83 1
a83 15
		for r in $q/*.*
		do
			if test -f "$r"
			then
				case $r in
				*.dll)
					system=cygwin
					;;
				*.dylib)
					system=darwin
					;;
				esac
			fi
			test -n "$system" && break
		done
d85 1
a85 19

	case .$system in
	.cygwin*)
		variable=PATH
		;;
	.beos*)
		variable=LIBRARY_PATH
		;;
	.darwin*)
		variable=DYLD_LIBRARY_PATH
		;;
	*)
		variable=LD_LIBRARY_PATH
		;;
	esac

	eval 'test -z "$'$variable'" && '$variable'=":"'
	eval $variable'="$q:$'$variable'"'
	eval 'export '$variable
a86 1

@


1.1.1.2.14.2
log
@SVN rev 180142 on 2008-07-01 09:28:27Z by rafan

MFC ncurses 5.6-20080503

 rev 174993, 176187, 178866
@
text
@d32 1
a32 1
# $Id: shlib,v 1.11 2007/01/13 17:09:52 tom Exp $
a83 1
		break
@


1.1.1.3
log
@Import ncurses 5.6-20061217 onto the vender branch

Approved by:	delphij
@
text
@d3 1
a3 1
# Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.                #
d32 1
a32 1
# $Id: shlib,v 1.10 2005/06/25 22:41:17 tom Exp $
d61 1
a61 2
#	Cygwin uses $PATH
#	Mac OS X uses $DYLD_LIBRARY_PATH
d63 1
a63 5
# Other cases not handled by this script:
#
#	AIX uses $LIBPATH
#	IRIX64 may use $LD_LIBRARY64_PATH or $LD_LIBRARYN32_PATH
#	Solaris may use $LD_LIBRARY_PATH_64
d65 2
a66 5
CDPATH=
#
# Make sure that we use the PATH that was set in run_tic.sh
if test -n "$SHLIB_PATH" ; then
	PATH=$SHLIB_PATH
a69 1
# Find the lib-directory for this build tree
d71 1
a71 1
for p in lib ../lib ../../lib ../../../lib
d74 1
a74 3
		q=`cd $p; pwd`
	elif test -f configure && test ! -d ../$p ; then
		break
a76 2

# Set the environment variable.
d78 2
a79 5
	system=
	if test -n "$SHLIB_HOST" ; then
		system="$SHLIB_HOST"
	elif test -n "$PATHEXT" ; then
		system=cygwin
d81 1
a81 5
		system=beos
	elif test -n "$DYLD_LIBRARY_PATH" ; then
		system=darwin
	elif test -n "$LD_LIBRARY_PATH"; then
		system=unix
d83 1
a83 15
		for r in $q/*.*
		do
			if test -f "$r"
			then
				case $r in
				*.dll)
					system=cygwin
					;;
				*.dylib)
					system=darwin
					;;
				esac
			fi
			test -n "$system" && break
		done
d85 1
a85 19

	case .$system in
	.cygwin*)
		variable=PATH
		;;
	.beos*)
		variable=LIBRARY_PATH
		;;
	.darwin*)
		variable=DYLD_LIBRARY_PATH
		;;
	*)
		variable=LD_LIBRARY_PATH
		;;
	esac

	eval 'test -z "$'$variable'" && '$variable'=":"'
	eval $variable'="$q:$'$variable'"'
	eval 'export '$variable
a86 1

@


1.1.1.3.2.1
log
@SVN rev 179538 on 2008-06-04 07:42:51Z by rafan

MFC ncurses 5.6-20080503

 rev 174993, 176187, 178866
@
text
@d32 1
a32 1
# $Id: shlib,v 1.11 2007/01/13 17:09:52 tom Exp $
a83 1
		break
@


1.1.1.4
log
@Import ncurses 5.6-20071222 snapshot onto the vender branch
@
text
@d32 1
a32 1
# $Id: shlib,v 1.11 2007/01/13 17:09:52 tom Exp $
a83 1
		break
@


1.1.1.4.18.1
log
@file shlib was added on branch RELENG_8_4 on 2013-03-28 13:01:41 +0000
@
text
@d1 141
@


1.1.1.4.18.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 141
#!/bin/sh
##############################################################################
# Copyright (c) 1998-2003,2005 Free Software Foundation, Inc.                #
#                                                                            #
# Permission is hereby granted, free of charge, to any person obtaining a    #
# copy of this software and associated documentation files (the "Software"), #
# to deal in the Software without restriction, including without limitation  #
# the rights to use, copy, modify, merge, publish, distribute, distribute    #
# with modifications, sublicense, and/or sell copies of the Software, and to #
# permit persons to whom the Software is furnished to do so, subject to the  #
# following conditions:                                                      #
#                                                                            #
# The above copyright notice and this permission notice shall be included in #
# all copies or substantial portions of the Software.                        #
#                                                                            #
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
# DEALINGS IN THE SOFTWARE.                                                  #
#                                                                            #
# Except as contained in this notice, the name(s) of the above copyright     #
# holders shall not be used in advertising or otherwise to promote the sale, #
# use or other dealings in this Software without prior written               #
# authorization.                                                             #
##############################################################################
#
# Author: Thomas E. Dickey <dickey@@clark.net> 1996
#
# $Id: shlib,v 1.11 2007/01/13 17:09:52 tom Exp $
# Use this script as a wrapper when running executables linked to shared
# libraries on systems that use the $LD_LIBRARY_PATH variable and don't embed
# the soname's path within the linked executable (such as IRIX), e.g,
#
#	shlib knight
#
# Setting LD_LIBRARY_PATH, overrides/supplements the loader's normal search
# path, and works on most systems.  The drawback is that then the environment
# variable has to be set to run the programs within this directory tree.
#
# For Linux (and other systems using the GNU loader), we can use the rpath
# directive, which embeds the pathname of the library within the executable.
# Using the Linux loader's rpath directive introduces a constraint, since
# it's embedded into the binary, and means that the binary cannot be moved
# around (though it'll work if the $exec_prefix convention that puts the bin
# and lib directories under the same parent is followed).
#
# Using the actual soname (e.g., ../lib/libncurses.so) alone, is a more
# flexible solution; you can link without having to set the environment
# variable, and on some systems (IRIX) you can even run the resulting binaries
# without setting LD_LIBRARY_PATH.
#
# Using a conventional link, with -L and -l options on Linux results in a
# statically linked executable, which we don't want at all.
#
# Special cases:
#
#	BeOS R4.5 uses $LIBRARY_PATH rather than $LD_LIBRARY_PATH.
#	Cygwin uses $PATH
#	Mac OS X uses $DYLD_LIBRARY_PATH
#
# Other cases not handled by this script:
#
#	AIX uses $LIBPATH
#	IRIX64 may use $LD_LIBRARY64_PATH or $LD_LIBRARYN32_PATH
#	Solaris may use $LD_LIBRARY_PATH_64
#
CDPATH=
#
# Make sure that we use the PATH that was set in run_tic.sh
if test -n "$SHLIB_PATH" ; then
	PATH=$SHLIB_PATH
	export PATH
fi

# Find the lib-directory for this build tree
q=""
for p in lib ../lib ../../lib ../../../lib
do
	if test -d $p; then
		q=`cd $p; pwd`
		break
	elif test -f configure && test ! -d ../$p ; then
		break
	fi
done

# Set the environment variable.
if test -n "$q" ; then
	system=
	if test -n "$SHLIB_HOST" ; then
		system="$SHLIB_HOST"
	elif test -n "$PATHEXT" ; then
		system=cygwin
	elif test -n "$LIBRARY_PATH" ; then
		system=beos
	elif test -n "$DYLD_LIBRARY_PATH" ; then
		system=darwin
	elif test -n "$LD_LIBRARY_PATH"; then
		system=unix
	else
		for r in $q/*.*
		do
			if test -f "$r"
			then
				case $r in
				*.dll)
					system=cygwin
					;;
				*.dylib)
					system=darwin
					;;
				esac
			fi
			test -n "$system" && break
		done
	fi

	case .$system in
	.cygwin*)
		variable=PATH
		;;
	.beos*)
		variable=LIBRARY_PATH
		;;
	.darwin*)
		variable=DYLD_LIBRARY_PATH
		;;
	*)
		variable=LD_LIBRARY_PATH
		;;
	esac

	eval 'test -z "$'$variable'" && '$variable'=":"'
	eval $variable'="$q:$'$variable'"'
	eval 'export '$variable
fi

eval "$*"
@


