Commit 8a4f1377 authored by Ben Laurie's avatar Ben Laurie
Browse files

Die properly when path is bollocks.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fips-dev@189761 13f79535-47bb-0310-9956-ffa450edef68
parent 879a74fe
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -340,7 +340,10 @@ if test "x$ap_ssltk_configured" = "x"; then
    dnl If --with-sslc specifies a directory, we use that directory or fail
    if test "x$withval" != "xyes" -a "x$withval" != "x"; then
      dnl This ensures $withval is actually a directory and that it is absolute
      ap_ssltk_base="`cd $withval ; pwd`"
      ap_ssltk_base="`cd $withval && pwd`"
      if test "x$ap_ssltk_base" == "x"; then
	exit
      fi
    fi
    ap_ssltk_type="sslc"
  ])
@@ -348,7 +351,10 @@ if test "x$ap_ssltk_configured" = "x"; then
    dnl If --with-ssl specifies a directory, we use that directory or fail
    if test "x$withval" != "xyes" -a "x$withval" != "x"; then
      dnl This ensures $withval is actually a directory and that it is absolute
      ap_ssltk_base="`cd $withval ; pwd`"
      ap_ssltk_base="`cd $withval && pwd`"
      if test "x$ap_ssltk_base" == "x"; then
	exit
      fi
    fi
  ])
  if test "x$ap_ssltk_base" = "x"; then