Solaris changes.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 15 Mar 2008 04:27:07 +0000 (04:27 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Sat, 15 Mar 2008 04:27:07 +0000 (04:27 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2781 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/keygen.sh

index 76e91f5..aa47b68 100755 (executable)
@@ -17,7 +17,7 @@ if [ -n "$FORCE" ] ; then
     rm sp-key.pem sp-cert.pem
 fi
 
     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.
     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.