From 02f84e856895bd9a959416be0c01d4c2e9079579 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 21 Aug 2026 17:46:14 +0400 Subject: [PATCH] test --- bin/miaou-bash | 9 ++++-- test/miaou-bash.test.bash | 60 +++++++++++++++++++-------------------- 2 files changed, 36 insertions(+), 33 deletions(-) diff --git a/bin/miaou-bash b/bin/miaou-bash index 53c779d..25ae812 100755 --- a/bin/miaou-bash +++ b/bin/miaou-bash @@ -670,8 +670,11 @@ trap 'on_exit $?' EXIT trap 'on_pipe' PIPE trap 'on_return' RETURN -[[ -v SCRIPT ]] && BASH_ARGV0="${SCRIPT}" && shift - +if [[ -v SCRIPT ]]; then + BASH_ARGV0="${SCRIPT}" + miaou_debug "