diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-08-06 21:29:05 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-08-06 21:29:05 +0000 |
commit | 72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf (patch) | |
tree | e1fd7bb22aa41a1da9262399bddf0a10bc44a3b4 /encap | |
parent | 8f3e2b142cdee6e462d7baee9a2423c1322828b8 (diff) | |
download | bcfg2-72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf.tar.gz bcfg2-72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf.tar.bz2 bcfg2-72ee96d0ad6e1647430ee39a7a0f5e50612ce3cf.zip |
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
Diffstat (limited to 'encap')
-rw-r--r-- | encap/bcfg2-0.8.2.ep | 4 |
1 files changed, 2 insertions, 2 deletions
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 |