Browse Source

Merge pull request #22 from bahamat/fix_temp_dir

getssl#21 TEMP_DIR creation error
pull/25/head
serverco 10 years ago
parent
commit
8d78bea563
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -524,11 +524,11 @@ if [ ! -d "$WORKING_DIR" ]; then
fi
# Define default file locations.
TEMP_DIR=$(mktemp -d "$DOMAIN_DIR/tmp.XXXXXX")
ACCOUNT_KEY="$WORKING_DIR/account.key"
DOMAIN_DIR="$WORKING_DIR/$DOMAIN"
CERT_FILE="$DOMAIN_DIR/${DOMAIN}.crt"
CA_CERT="$DOMAIN_DIR/chain.crt"
TEMP_DIR=$(mktemp -d "$DOMAIN_DIR/tmp.XXXXXX")
# if "-c|--create" option used, then create config files.
if [ ${_CREATE_CONFIG} -eq 1 ]; then


Loading…
Cancel
Save