From 989cc1e41865d333118aecaf8edd75298e1d511a Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sat, 4 Feb 2006 04:18:26 +0000 Subject: This seems to make packaging work again... probably needs checking for kludginess --- bin/fdpsh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/fdpsh b/bin/fdpsh index f4baef2..71b3544 100755 --- a/bin/fdpsh +++ b/bin/fdpsh @@ -14,9 +14,11 @@ ME=`basename $0` FDPBINDIR=`dirname $0` USAGE="usage: ${ME} [-c cmd] [file [arg..]]" # -PATH=${FDPBINDIR}:${PATH} export PATH -FDPDIR=${FDPBINDIR}/../.. export FDPDIR -SHELL=${FDPBINDIR}/${ME} export SHELL +PATH=${FDPBINDIR}:${PATH} export PATH +# This change keeps pathnames from growing out of control +FDPDIR=$(pushd ${FDPBINDIR}/../.. 2>&1 >/dev/null \ + && pwd && popd 2>&1 >/dev/null) export FDPDIR +SHELL=${FDPBINDIR}/${ME} export SHELL # FDPLOG=/tmp/fdpsh.log # -- cgit