diff options
Diffstat (limited to 'tests/test_deprecated_options')
-rwxr-xr-x | tests/test_deprecated_options | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_deprecated_options b/tests/test_deprecated_options index 2b058dc9..5ff59801 100755 --- a/tests/test_deprecated_options +++ b/tests/test_deprecated_options @@ -1,6 +1,8 @@ #!/bin/bash -DELTA="./target/release/delta --no-gitconfig" +# if first arg provided, use it, otherwise default to release +DELTA_BIN=${1:=./target/release/delta} +DELTA="$DELTA_BIN --no-gitconfig" foreground_color=red for decoration_attr in box underline plain; do |