From fdc8dbfe91a961b2352661e84fe17094b2cd3bd8 Mon Sep 17 00:00:00 2001 From: Ethan Sommer Date: Wed, 15 Apr 2020 15:00:09 -0400 Subject: configure: remove bashism, change shebang to sh --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 0b6501fc..23dd687d 100755 --- a/configure +++ b/configure @@ -1,10 +1,10 @@ -#!/bin/bash +#!/bin/sh # This sets environment variables used by scripts/make.sh # People run ./configure out of habit, so do "defconfig" for them. -if [ "$(basename "$0")" == configure ] +if [ "${0##*/}" = configure ] then echo "Assuming you want 'make defconfig', but you should probably check the README." make defconfig -- cgit v1.2.3