[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

docs-common/bin fdpsh,1.3,1.4



Author: pfrields

Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15016/bin

Modified Files:
	fdpsh 
Log Message:
This seems to make packaging work again... probably needs checking for kludginess


Index: fdpsh
===================================================================
RCS file: /cvs/docs/docs-common/bin/fdpsh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- fdpsh	27 Jan 2006 23:15:56 -0000	1.3
+++ fdpsh	4 Feb 2006 04:18:32 -0000	1.4
@@ -14,9 +14,11 @@
 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
 #


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]