summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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