summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
diff options
context:
space:
mode:
authorDavHau <hsngrmpf+github@gmail.com>2020-10-26 17:17:07 +0700
committerGitHub <noreply@github.com>2020-10-26 17:17:07 +0700
commit112f275f4db95ef465ea4d24c0be2a2ca0b3decc (patch)
tree7e4edd8f7c270668239e3ea551e8ee09de8c07b3 /pkgs/build-support/setup-hooks
parentb9d2541a3700ec2ad4c75df11821c4f387a4512d (diff)
downloadnixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar.gz
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar.bz2
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar.lz
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar.xz
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.tar.zst
nixpkgs-112f275f4db95ef465ea4d24c0be2a2ca0b3decc.zip
autoPatchelfHook: fix typos in comments
Diffstat (limited to 'pkgs/build-support/setup-hooks')
-rw-r--r--pkgs/build-support/setup-hooks/auto-patchelf.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/setup-hooks/auto-patchelf.sh b/pkgs/build-support/setup-hooks/auto-patchelf.sh
index 55481200b8b..f51f016c334 100644
--- a/pkgs/build-support/setup-hooks/auto-patchelf.sh
+++ b/pkgs/build-support/setup-hooks/auto-patchelf.sh
@@ -41,7 +41,7 @@ addToDepCache() {
     # otherwise findDependency would have quadratic complexity
     autoPatchelfCachedDepsAssoc["$1"]=""
 
-    # also store deps in normal array to maintian their order
+    # also store deps in normal array to maintain their order
     autoPatchelfCachedDeps+=("$1")
 }
 
@@ -204,7 +204,7 @@ autoPatchelf() {
     echo "automatically fixing dependencies for ELF files" >&2
 
     # 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} -- "$@"
 
     while IFS= read -r -d $'\0' file; do