From: cantor Date: Sat, 15 Mar 2008 04:27:07 +0000 (+0000) Subject: Solaris changes. X-Git-Tag: 2.4~506 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=cba59171fe5213bfeefe8b200674634d0b211c6f Solaris changes. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2781 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/configs/keygen.sh b/configs/keygen.sh index 76e91f5..aa47b68 100755 --- a/configs/keygen.sh +++ b/configs/keygen.sh @@ -17,7 +17,7 @@ if [ -n "$FORCE" ] ; then rm sp-key.pem sp-cert.pem fi -if [ -e sp-key.pem -o -e sp-cert.pem ] ; then +if [ -s sp-key.pem -o -s sp-cert.pem ] ; then if [ -z "$BATCH" ] ; then echo The files sp-key.pem and/or sp-cert.pem already exist! echo Use -f option to force recreation of keypair.