autoPatchelfHook: fix typos in comments

This commit is contained in:
DavHau 2020-10-26 17:17:07 +07:00 committed by GitHub
parent b9d2541a37
commit 112f275f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ addToDepCache() {
# otherwise findDependency would have quadratic complexity # otherwise findDependency would have quadratic complexity
autoPatchelfCachedDepsAssoc["$1"]="" autoPatchelfCachedDepsAssoc["$1"]=""
# also store deps in normal array to maintian their order # also store deps in normal array to maintain their order
autoPatchelfCachedDeps+=("$1") autoPatchelfCachedDeps+=("$1")
} }
@ -204,7 +204,7 @@ autoPatchelf() {
echo "automatically fixing dependencies for ELF files" >&2 echo "automatically fixing dependencies for ELF files" >&2
# Add all shared objects of the current output path to the start of # Add all shared objects of the current output path to the start of
# autoPatchelfCachedDeps so that it's choosen first in findDependency. # autoPatchelfCachedDeps so that it's chosen first in findDependency.
addAutoPatchelfSearchPath ${norecurse:+--no-recurse} -- "$@" addAutoPatchelfSearchPath ${norecurse:+--no-recurse} -- "$@"
while IFS= read -r -d $'\0' file; do while IFS= read -r -d $'\0' file; do