diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-30 03:35:59 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-30 03:35:59 -0500 |
commit | cf6567f03d2f43df987d2c5950ee27132d6bb7aa (patch) | |
tree | dbae220213150b56d254e4713d7b1a131bf7c633 | |
parent | autoconf-wrapper: use clearer warning/error messages (diff) | |
download | autotools-wrappers-cf6567f03d2f43df987d2c5950ee27132d6bb7aa.tar.gz autotools-wrappers-cf6567f03d2f43df987d2c5950ee27132d6bb7aa.tar.bz2 autotools-wrappers-cf6567f03d2f43df987d2c5950ee27132d6bb7aa.zip |
autoconf-wrapper: drop unnecessary argv0 check
This doesn't add much value, and would never fire in an installed
setup. It was meant to catch `./ac-wrapper.sh` usage in the source
tree, but the code largely executes fine otherwise, so might as well
punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | ac-wrapper.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh index 4e0a765..37eb7b7 100755 --- a/ac-wrapper.sh +++ b/ac-wrapper.sh @@ -49,10 +49,6 @@ case $0 in ;; esac -if [ "${argv0}" = "ac-wrapper.sh" ] ; then - err "Don't call this script directly" -fi - if [ "${WANT_AUTOCONF}" = "2.1" ] && [ "${argv0}" = "autom4te" ] ; then err "Autoconf 2.13 doesn't contain autom4te.\n" \ " Either unset WANT_AUTOCONF or don't execute anything\n" \ |