diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-02-04 04:18:26 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-02-04 04:18:26 +0000 |
commit | 989cc1e41865d333118aecaf8edd75298e1d511a (patch) | |
tree | 1d68e98a5554410a53ac953d025eaa1348ce3638 /bin/fdpsh | |
parent | 4ca852ed8544c5fc20abc99c7f04d6fe77f50e5f (diff) | |
download | fedora-doc-utils-989cc1e41865d333118aecaf8edd75298e1d511a.tar.gz fedora-doc-utils-989cc1e41865d333118aecaf8edd75298e1d511a.tar.xz fedora-doc-utils-989cc1e41865d333118aecaf8edd75298e1d511a.zip |
This seems to make packaging work again... probably needs checking for kludginess
Diffstat (limited to 'bin/fdpsh')
-rwxr-xr-x | bin/fdpsh | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 # |