Skip to content

Commit

Permalink
setup-util: debug eval_capture call to try and find out why it is sti…
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jan 22, 2025
1 parent 164eac5 commit d6ea4b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/is-not-symlink
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

# debugging

function is_not_symlink_test() (
source "$DOROTHY/sources/tests.bash"
echo-style --h1="TEST: $0"
Expand Down
2 changes: 2 additions & 0 deletions commands/setup-util
Original file line number Diff line number Diff line change
Expand Up @@ -3805,7 +3805,9 @@ function setup_util() (
if [[ $use_alt_screen_buffer == 'yes' ]]; then
__print_string "$alternative_screen_buffer" >"$terminal_device_file"
log_pending "$method"
set -x
eval_capture --statusvar=run_status --outputvar=run_output --outputpipe="$terminal_device_file" -- "$fn"
set +x
__print_string "$default_screen_buffer" >"$terminal_device_file"
else
eval_capture --statusvar=run_status -- "$fn"
Expand Down

0 comments on commit d6ea4b8

Please sign in to comment.