mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace basename with _BASENAME=${0##*/}
This commit is contained in:
parent
3f505d7cef
commit
36abcffcb2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
. /etc/archboot/defaults
|
. /etc/archboot/defaults
|
||||||
_BASENAME="$(basename "${0}")"
|
_BASENAME=${0##*/}
|
||||||
_RUNNING_ARCH="$(uname -m)"
|
_RUNNING_ARCH="$(uname -m)"
|
||||||
_KEYRING="archlinux-keyring"
|
_KEYRING="archlinux-keyring"
|
||||||
if echo "${_BASENAME}" | grep -qw aarch64; then
|
if echo "${_BASENAME}" | grep -qw aarch64; then
|
||||||
|
|
Loading…
Reference in a new issue