From 72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf Mon Sep 17 00:00:00 2001 From: Daniel Joseph Barnhart Clark Date: Sun, 6 Aug 2006 21:29:05 +0000 Subject: Solaris /bin/sh doesn't like test -e (use -f instead) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2051 ce84e21b-d406-0410-9b95-82705330c041 --- encap/bcfg2-0.8.2.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'encap/bcfg2-0.8.2.ep') diff --git a/encap/bcfg2-0.8.2.ep b/encap/bcfg2-0.8.2.ep index e2dbfc135..3f8435a18 100644 --- a/encap/bcfg2-0.8.2.ep +++ b/encap/bcfg2-0.8.2.ep @@ -263,7 +263,7 @@ for BINARY in ${BINARIES}; do done for FILE in ${COMPILEALL}; do - if [ ! -e ${FILE} ]; then + if [ ! -f ${FILE} ]; then printf "\nERROR: ${FILE} does not exist, exiting...\n" exit 1 fi @@ -317,7 +317,7 @@ exit 0 #!/bin/sh BASEDIR="`echo ${0} | xargs -n1 dirname`" -if [ ! -e ${BASEDIR}/postinstall.log ]; then +if [ ! -f ${BASEDIR}/postinstall.log ]; then test -x ${BASEDIR}/b2-regexplace.sh || exit 1 ${BASEDIR}/b2-regexplace.sh first > ${BASEDIR}/postinstall.log 2>&1 3>&1 else -- cgit v1.2.3-1-g7c22