Skip to content

Commit

Permalink
use bash
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <me@emillon.org>
  • Loading branch information
emillon committed Aug 3, 2022
1 parent ab3edd8 commit a874948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/blackbox-tests/test-cases/exec-prefix.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ The executable just displays "Hello" and its arguments.
The wrapper parses its own arguments and executes the rest.

$ cat > wrap.sh << 'EOF'
> #!/bin/sh
> #!/bin/bash
> while getopts "xy" o; do
> echo "Got option: $o"
> shift $((OPTIND-1))
> done
> shift $((OPTIND-1))
> echo Before
> "$@"
> echo After
Expand Down

0 comments on commit a874948

Please sign in to comment.