Fix a typo in sysglobal/helpers.sh

This commit is contained in:
Andrius Štikonas 2022-04-05 18:43:23 +01:00 committed by GitHub
parent 7366647595
commit 3e3c58137c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ default_src_install() {
}
create_tarball_pkg() {
# If grep is unavaliable, then tar --sort is unavaliable.
# If grep is unavailable, then tar --sort is unavailable.
# So this does not need a command -v grep.
if tar --help | grep ' \-\-sort' >/dev/null 2>&1; then
tar -C "${DESTDIR}" --sort=name --hard-dereference -cf "/usr/src/repo/${pkg}_${revision}.tar" .