bashism in cargo.sh
src/plugins/meson-templates/resources/build-aux/cargo.sh
contains bash-only syntax [[
In Debian dash:
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar 30 18:45 /bin/sh -> dash
$ meson compile -C ~/Projects/rusttest/builddir
Found runner: ninja
ninja: Entering directory `/home/changwoo/Projects/rusttest/builddir'
[0/1] Generating cargo-build with a custom command
/home/changwoo/Projects/rusttest/build-aux/cargo.sh: 12: [[: not found
...
$ checkbashisms build-aux/cargo.sh
possible bashism in build-aux/cargo.sh line 12 (alternative test command ([[ foo ]] should be [ foo ])):
if [[ $BUILDTYPE = "release" ]]
$