1 |
commit: cf6567f03d2f43df987d2c5950ee27132d6bb7aa |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 08:35:59 2022 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 08:35:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/autotools-wrappers.git/commit/?id=cf6567f0 |
7 |
|
8 |
autoconf-wrapper: drop unnecessary argv0 check |
9 |
|
10 |
This doesn't add much value, and would never fire in an installed |
11 |
setup. It was meant to catch `./ac-wrapper.sh` usage in the source |
12 |
tree, but the code largely executes fine otherwise, so might as well |
13 |
punt it. |
14 |
|
15 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
16 |
|
17 |
ac-wrapper.sh | 4 ---- |
18 |
1 file changed, 4 deletions(-) |
19 |
|
20 |
diff --git a/ac-wrapper.sh b/ac-wrapper.sh |
21 |
index 4e0a765..37eb7b7 100755 |
22 |
--- a/ac-wrapper.sh |
23 |
+++ b/ac-wrapper.sh |
24 |
@@ -49,10 +49,6 @@ case $0 in |
25 |
;; |
26 |
esac |
27 |
|
28 |
-if [ "${argv0}" = "ac-wrapper.sh" ] ; then |
29 |
- err "Don't call this script directly" |
30 |
-fi |
31 |
- |
32 |
if [ "${WANT_AUTOCONF}" = "2.1" ] && [ "${argv0}" = "autom4te" ] ; then |
33 |
err "Autoconf 2.13 doesn't contain autom4te.\n" \ |
34 |
" Either unset WANT_AUTOCONF or don't execute anything\n" \ |