Fix a typo in sysglobal/helpers.sh
This commit is contained in:
parent
7366647595
commit
3e3c58137c
|
@ -237,7 +237,7 @@ default_src_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
create_tarball_pkg() {
|
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.
|
# So this does not need a command -v grep.
|
||||||
if tar --help | grep ' \-\-sort' >/dev/null 2>&1; then
|
if tar --help | grep ' \-\-sort' >/dev/null 2>&1; then
|
||||||
tar -C "${DESTDIR}" --sort=name --hard-dereference -cf "/usr/src/repo/${pkg}_${revision}.tar" .
|
tar -C "${DESTDIR}" --sort=name --hard-dereference -cf "/usr/src/repo/${pkg}_${revision}.tar" .
|
||||||
|
|
Loading…
Reference in New Issue