summaryrefslogtreecommitdiff
path: root/legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-10-16 01:12:16 +0000
committerZach van Rijn <me@zv.io>2021-10-16 01:12:16 +0000
commit6ca2ba5c92a7b0679a552725678a40ed5eb4ded5 (patch)
treeddc300a108dc4d10ed5ed0188175f54452e8bb0e /legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch
parentaa90e62ce757fa863685f44ce23f129f56b3225f (diff)
parentc0f3f757abe6ea39579119b99e9996c4e2bf0e11 (diff)
downloadpackages-6ca2ba5c92a7b0679a552725678a40ed5eb4ded5.tar.gz
packages-6ca2ba5c92a7b0679a552725678a40ed5eb4ded5.tar.bz2
packages-6ca2ba5c92a7b0679a552725678a40ed5eb4ded5.tar.xz
packages-6ca2ba5c92a7b0679a552725678a40ed5eb4ded5.zip
Merge branch 'master' into 'awilfox/bump/2021-09-system-abipreserve'
# Conflicts: # system/curl/APKBUILD
Diffstat (limited to 'legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch')
-rw-r--r--legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch b/legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch
deleted file mode 100644
index 9fc6f7e68..000000000
--- a/legacy/busybox/0015-ash-introduce-a-config-option-to-search-current-dire.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 13c7e0cc7767b84e183ddbc3400171874478bf06 Mon Sep 17 00:00:00 2001
-From: Denys Vlasenko <vda.linux@googlemail.com>
-Date: Fri, 26 Jan 2018 15:15:43 +0100
-Subject: [PATCH 15/16] ash: introduce a config option to search current
- directory for sourced files
-
----
- shell/ash.c | 13 ++++++++++++-
- 1 file changed, 12 insertions(+), 1 deletion(-)
-
-diff --git a/shell/ash.c b/shell/ash.c
-index d04096a9b..5dd184360 100644
---- a/shell/ash.c
-+++ b/shell/ash.c
-@@ -132,6 +132,13 @@
- //config: you to run the specified command or builtin,
- //config: even when there is a function with the same name.
- //config:
-+//config:config ASH_BASH_SOURCE_CURDIR
-+//config: bool "'source' and '.' builtins search current directory after $PATH"
-+//config: default n # do not encourage non-standard behavior
-+//config: depends ASH_BASH_COMPAT
-+//config: help
-+//config: This is not compliant with standards. Avoid if possible.
-+//config:
- //config:config ASH_COMMAND_NOT_FOUND_HOOK
- //config: bool "command_not_found_handle hook support"
- //config: default y
-@@ -12919,10 +12926,14 @@ find_dot_file(char *name)
- if (fullname != name)
- stunalloc(fullname);
- }
-+ /* not found in PATH */
-
-- /* not found in the PATH */
-+#if ENABLE_ASH_BASH_SOURCE_CURDIR
-+ return name;
-+#else
- ash_msg_and_raise_error("%s: not found", name);
- /* NOTREACHED */
-+#endif
- }
-
- static int FAST_FUNC
---
-2.16.2
-