From 3f107d810f2851c15c23e82636f118cf2925821a Mon Sep 17 00:00:00 2001 From: Joachim Ansorg Date: Wed, 9 Oct 2024 17:25:50 +0200 Subject: [PATCH] Better handling of spaces in paths --- bashdb.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashdb.in b/bashdb.in index 8a35f90..56569fd 100755 --- a/bashdb.in +++ b/bashdb.in @@ -98,9 +98,9 @@ fi if [[ -n $_Dbg_script_file ]] ; then # Set $0. This is a new bash 5.0 feature. - BASH_ARGV0=$_Dbg_script_file + BASH_ARGV0="$_Dbg_script_file" fi -typeset _Dbg_dollar_0=$0 +typeset _Dbg_dollar_0="$0" trap '_Dbg_debug_trap_handler 0 "$BASH_COMMAND" "$@"' DEBUG set -o functrace