mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace basename with _APPNAME=${0##*/}
This commit is contained in:
parent
bd3aaa7dc4
commit
3f505d7cef
6 changed files with 9 additions and 6 deletions
|
@ -1,4 +1,7 @@
|
||||||
On the road to 2023.04
|
On the road to 2023.05
|
||||||
|
---
|
||||||
|
2023.04 Highllights:
|
||||||
|
- grub 2.06.r499.ge67a551a4-1
|
||||||
Environment changes:
|
Environment changes:
|
||||||
- switch to archboot-cpio.sh for image/initramfs building
|
- switch to archboot-cpio.sh for image/initramfs building
|
||||||
- switch to ukify script for UKI creation
|
- switch to ukify script for UKI creation
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# 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>
|
||||||
_APPNAME="$(basename "${0}")"
|
_APPNAME=${0##*/}
|
||||||
_usage () {
|
_usage () {
|
||||||
echo "${_BASENAME}: usage"
|
echo "${_BASENAME}: usage"
|
||||||
echo "Check on missing binaries in archboot environment"
|
echo "Check on missing binaries in archboot environment"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# by Tobias Powalowski <tpowa@archlinux.org>
|
# by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
# usage(exitvalue)
|
# usage(exitvalue)
|
||||||
# outputs a usage message and exits with value
|
# outputs a usage message and exits with value
|
||||||
_APPNAME=$(basename "${0}")
|
_APPNAME=${0##*/}
|
||||||
_usage()
|
_usage()
|
||||||
{
|
{
|
||||||
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m\e[1m - COPY MOUNTPOINT:\e[m"
|
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m\e[1m - COPY MOUNTPOINT:\e[m"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# by Tobias Powalowski <tpowa@archlinux.org>
|
# by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
# usage(exitvalue)
|
# usage(exitvalue)
|
||||||
# outputs a usage message and exits with value
|
# outputs a usage message and exits with value
|
||||||
_APPNAME=$(basename "${0}")
|
_APPNAME=${0##*/}
|
||||||
_usage()
|
_usage()
|
||||||
{
|
{
|
||||||
echo -e "\e[1mWelcome to \e[34marchboot's\e[m \e[1mHWSIM:\e[m"
|
echo -e "\e[1mWelcome to \e[34marchboot's\e[m \e[1mHWSIM:\e[m"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# by Tobias Powalowski <tpowa@archlinux.org>
|
# by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
# usage(exitvalue)
|
# usage(exitvalue)
|
||||||
# outputs a usage message and exits with value
|
# outputs a usage message and exits with value
|
||||||
_APPNAME=$(basename "${0}")
|
_APPNAME=${0##*/}
|
||||||
_usage()
|
_usage()
|
||||||
{
|
{
|
||||||
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m \e[1m- RESTORE USB STICK:\e[m"
|
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m \e[1m- RESTORE USB STICK:\e[m"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# by Tobias Powalowski <tpowa@archlinux.org>
|
# by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
# usage(exitvalue)
|
# usage(exitvalue)
|
||||||
# outputs a usage message and exits with value
|
# outputs a usage message and exits with value
|
||||||
_APPNAME=$(basename "${0}")
|
_APPNAME=${0##*/}
|
||||||
_usage()
|
_usage()
|
||||||
{
|
{
|
||||||
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m\e[1m - RSYNC BACKUP:\e[m"
|
echo -e "\e[1mWelcome to \e[36mARCHBOOT\e[m\e[1m - RSYNC BACKUP:\e[m"
|
||||||
|
|
Loading…
Reference in a new issue