[Intel-gfx] [i-g-t] assembler: Fix bashism in run-test.sh

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Oct 30 10:51:05 UTC 2017


On Sat, 2017-10-28 at 20:20 -0400, Rhys Kidd wrote:
> [[ a != b ]] is a bashism. As it's just comparing $1 to an empty string,
> use -n with a normal [ ].
> 
> Noticed whilst testing meson builds. /bin/sh is apparently dash in Intel's CI.
> 
> Also change the script to #!/bin/bash to avoid having to babysit bashism later.

Just leave the shebang as it is, then this is;

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list