gf-platformid: Fix bash conditional
Bash doesn't like using `-ne` for string comparisons:
[: x86_64: integer expression expected
We need to use `!=` instead.
@@ -41,7 +41,7 @@ coreos_gf_run_mount "${tmp_dest}"
# * grub config
# * BLS config (for subsequent config regeneration)
# First, the grub config.
-if [ "$arch" -ne "x86_64" ] || [ "$platformid" == "metal" ]; then
+if [ "$arch" != "x86_64" ] || [ "$platformid" == "metal" ]; then
if [ "$(coreos_gf exists '/boot/efi')" == 'true' ]; then
grubcfg_path=$(coreos_gf glob-expand /boot/efi/EFI/*/grub.cfg)
else
