Skip to content

Commit

Permalink
Update scripts-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 19, 2024
1 parent 4a39d92 commit 9c110cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/scripts-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
if test "${current_os:?}" = 'Linux'; then
prepare_shell 'bosh' 'tar.xz' 'http://fuz.su/pub/schilytools/bin/schily-2024-03-21-x86_64-linux-gcc.tar.xz' || exit "${?}"
fi
if legacy_bb="$(command -v 'busybox')" && legacy_bb_dir="$(dirname "${legacy_bb:?}")"; then
sudo mv -f "${legacy_bb:?}" "${legacy_bb_dir:?}/busybox-legacy"
if command 1> /dev/null -v 'sudo' && legacy_bb="$(command -v 'busybox')" && legacy_bb_dir="$(dirname "${legacy_bb:?}")"; then
sudo mv -f "${legacy_bb:?}" "${legacy_bb_dir:?}/busybox_legacy"
fi
- name: "Test scripts"
shell: bash
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
{
local _shell _shell_cmd _status
EXECUTED_LIST=''
for _shell in sh dash bash busybox busybox-legacy ash hush mksh ksh93 ksh zsh yash posh osh bosh pbosh obosh; do
for _shell in sh dash bash busybox busybox_legacy ash hush mksh ksh93 ksh zsh yash posh osh bosh pbosh obosh; do
if test "${_shell:?}" = 'ksh' && test -n "${ORIGINAL_KSH?}"; then _shell="${ORIGINAL_KSH:?}"; fi
if ! _shell_cmd="$(command -v "${_shell:?}")" || skip "${1:?}" "${_shell:?}" || ! not_already_excuted "${_shell_cmd:?}"; then continue; fi
printf 'SHELL: %s - SCRIPT: %s\n\n' "${_shell_cmd:?}" "${1:?}"
Expand Down

0 comments on commit 9c110cf

Please sign in to comment.