diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2020-04-15 15:00:09 -0400 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-04 16:01:01 +0300 |
commit | fdc8dbfe91a961b2352661e84fe17094b2cd3bd8 (patch) | |
tree | 86f673fc98b25b5bd3f3473c855a7d96808f5a93 | |
parent | 933f238bd1dfd8931fa3cc60f61aea19802daefd (diff) | |
download | toybox-fdc8dbfe91a961b2352661e84fe17094b2cd3bd8.tar.gz |
configure: remove bashism, change shebang to sh
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |