2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 05:17:54 +00:00

Fix a few more typos.

This commit is contained in:
Todd C. Miller 2020-05-07 07:49:54 -06:00
parent 4266279c0c
commit 04cb06160a
3 changed files with 10 additions and 10 deletions

8
configure vendored
View File

@ -1679,7 +1679,7 @@ Optional Features:
Disable use of the libsudo_util shared library. Disable use of the libsudo_util shared library.
--enable-tmpfiles.d=DIR Set the path to the systemd tmpfiles.d directory. --enable-tmpfiles.d=DIR Set the path to the systemd tmpfiles.d directory.
--enable-devsearch=PATH The colon-delimited path to search for device nodes --enable-devsearch=PATH The colon-delimited path to search for device nodes
when determing the tty name. when determining the tty name.
--enable-sasl Enable/disable LDAP SASL support --enable-sasl Enable/disable LDAP SASL support
--timestamp-type=TYPE Set the default time stamp record type to global, --timestamp-type=TYPE Set the default time stamp record type to global,
ppid or tty. ppid or tty.
@ -5725,7 +5725,7 @@ if test "${with_passwd_tries+set}" = set; then :
;; ;;
[1-9]*) passwd_tries=$with_passwd_tries [1-9]*) passwd_tries=$with_passwd_tries
;; ;;
*) as_fn_error $? "\"you must enter the numer of tries, > 0\"" "$LINENO" 5 *) as_fn_error $? "\"you must enter the number of tries, > 0\"" "$LINENO" 5
;; ;;
esac esac
fi fi
@ -5749,7 +5749,7 @@ if test "${with_timeout+set}" = set; then :
;; ;;
[0-9]*) timeout=$with_timeout [0-9]*) timeout=$with_timeout
;; ;;
*) as_fn_error $? "\"you must enter the numer of minutes.\"" "$LINENO" 5 *) as_fn_error $? "\"you must enter the number of minutes.\"" "$LINENO" 5
;; ;;
esac esac
fi fi
@ -5773,7 +5773,7 @@ if test "${with_password_timeout+set}" = set; then :
;; ;;
[0-9]*) password_timeout=$with_password_timeout [0-9]*) password_timeout=$with_password_timeout
;; ;;
*) as_fn_error $? "\"you must enter the numer of minutes.\"" "$LINENO" 5 *) as_fn_error $? "\"you must enter the number of minutes.\"" "$LINENO" 5
;; ;;
esac esac
fi fi

View File

@ -261,7 +261,7 @@ RC_LINK=
COMPAT_EXP= COMPAT_EXP=
SIGNAME= SIGNAME=
dnl dnl
dnl Other vaiables dnl Other variables
dnl dnl
WEAK_ALIAS=no WEAK_ALIAS=no
CHECKSHADOW=true CHECKSHADOW=true
@ -1051,7 +1051,7 @@ AC_ARG_WITH(passwd-tries, [AS_HELP_STRING([--with-passwd-tries], [number of trie
;; ;;
[[1-9]]*) passwd_tries=$with_passwd_tries [[1-9]]*) passwd_tries=$with_passwd_tries
;; ;;
*) AC_MSG_ERROR(["you must enter the numer of tries, > 0"]) *) AC_MSG_ERROR(["you must enter the number of tries, > 0"])
;; ;;
esac]) esac])
AC_DEFINE_UNQUOTED(TRIES_FOR_PASSWORD, $passwd_tries, [The number of tries a user gets to enter their password.]) AC_DEFINE_UNQUOTED(TRIES_FOR_PASSWORD, $passwd_tries, [The number of tries a user gets to enter their password.])
@ -1065,7 +1065,7 @@ AC_ARG_WITH(timeout, [AS_HELP_STRING([--with-timeout], [minutes before sudo asks
;; ;;
[[0-9]]*) timeout=$with_timeout [[0-9]]*) timeout=$with_timeout
;; ;;
*) AC_MSG_ERROR(["you must enter the numer of minutes."]) *) AC_MSG_ERROR(["you must enter the number of minutes."])
;; ;;
esac]) esac])
AC_DEFINE_UNQUOTED(TIMEOUT, $timeout, [The number of minutes before sudo asks for a password again.]) AC_DEFINE_UNQUOTED(TIMEOUT, $timeout, [The number of minutes before sudo asks for a password again.])
@ -1079,7 +1079,7 @@ AC_ARG_WITH(password-timeout, [AS_HELP_STRING([--with-password-timeout], [passwd
;; ;;
[[0-9]]*) password_timeout=$with_password_timeout [[0-9]]*) password_timeout=$with_password_timeout
;; ;;
*) AC_MSG_ERROR(["you must enter the numer of minutes."]) *) AC_MSG_ERROR(["you must enter the number of minutes."])
;; ;;
esac]) esac])
AC_DEFINE_UNQUOTED(PASSWORD_TIMEOUT, $password_timeout, [The passwd prompt timeout (in minutes).]) AC_DEFINE_UNQUOTED(PASSWORD_TIMEOUT, $password_timeout, [The passwd prompt timeout (in minutes).])
@ -1584,7 +1584,7 @@ esac], [
]) ])
AC_ARG_ENABLE(devsearch, AC_ARG_ENABLE(devsearch,
[AS_HELP_STRING([--enable-devsearch=PATH], [The colon-delimited path to search for device nodes when determing the tty name.])], [AS_HELP_STRING([--enable-devsearch=PATH], [The colon-delimited path to search for device nodes when determining the tty name.])],
[case $enableval in [case $enableval in
yes) # use default value yes) # use default value
;; ;;

View File

@ -191,7 +191,7 @@ if [ $# -ne 2 ] ; then
exit 1 exit 1
fi fi
## Get the destination and a temp file in the destination diretory. ## Get the destination and a temp file in the destination directory.
if [ -d "$2" ] ; then if [ -d "$2" ] ; then
DEST="$2/`basename $1`" DEST="$2/`basename $1`"
TEMP="$2/$$.tmp" TEMP="$2/$$.tmp"