From bcd6528554281d249ec66e0b9f94b7a1a9df7868 Mon Sep 17 00:00:00 2001 From: Ramkumar Ramachandra Date: Tue, 13 Dec 2022 17:27:50 +0100 Subject: [PATCH] mlir/ods-gen: use bash from env in shell script On macOS, hardcoding the path of bash leads to a failure in executing update_core_linalg_named_ops.sh, due to an old version of bash being present in that location. Signed-off-by: Ramkumar Ramachandra Differential Revision: https://reviews.llvm.org/D139942 --- mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in b/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in index b0fbd64..da4db39 100755 --- a/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in +++ b/mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -- 2.7.4