aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-04-15 15:00:09 -0400
committerCem Keylan <cem@ckyln.com>2021-07-04 16:01:01 +0300
commitfdc8dbfe91a961b2352661e84fe17094b2cd3bd8 (patch)
tree86f673fc98b25b5bd3f3473c855a7d96808f5a93
parent933f238bd1dfd8931fa3cc60f61aea19802daefd (diff)
downloadtoybox-fdc8dbfe91a961b2352661e84fe17094b2cd3bd8.tar.gz
configure: remove bashism, change shebang to sh
-rwxr-xr-xconfigure4
1 files 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