Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Mon, 17 Jun 2024 09:28:33 +0100 you wrote:
> openvswitch.sh makes use of substitutions of the form ${ns:0:1}, to
> obtain the first character of $ns. Empirically, this is works with bash
> but not dash. When run with dash these evaluate to an empty string and
> printing an error to stdout.
> 
>  # dash -c 'ns=client; echo "${ns:0:1}"' 2>error
>  # cat error
>  dash: 1: Bad substitution
>  # bash -c 'ns=client; echo "${ns:0:1}"' 2>error
>  c
>  # cat error
> 
> [...]

Here is the summary with links:
  - [net] selftests: openvswitch: Use bash as interpreter
    https://git.kernel.org/netdev/net/c/e2b447c9a1bb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to