Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-24 10:31:19 +0200
committerErich Eckner <git@eckner.net>2017-10-24 10:31:19 +0200
commit706472f53bcd91e0307ec03c0ce5dd5c6679eba8 (patch)
treeee8f23624256d8c9e02fd32c867121afc26ee5f6 /bin
parentc3ef246baa587aa1d225320e287e05da315886d3 (diff)
bin/common-functions, bin/build-packages: fix typo in function name
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages2
-rwxr-xr-xbin/common-functions4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 8017725..4d38ee0 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -343,7 +343,7 @@ while [ "${count}" -ne 0 ]; do
# now we generate diffs from the namcap.logs
find . "${tar_content_dir}/" -maxdepth 1 -type f -name '*.pkg.tar.xz-namcap.log' -printf '%p\n' | \
while read -r log; do
- sort_quare_bracket_content "${log}" | \
+ sort_square_bracket_content "${log}" | \
sort | \
sponge "${log}"
done
diff --git a/bin/common-functions b/bin/common-functions
index 0ad4b71..0845c74 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -1046,10 +1046,10 @@ find_biggest_subset_of_packages() {
}
-# sort_quare_bracket_content $file
+# sort_square_bracket_content $file
# sort the content of [] in $file, print to stdout
-sort_quare_bracket_content() {
+sort_square_bracket_content() {
local file
local line
local token